<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6880324586446193562</id><updated>2024-11-30T19:00:20.982+08:00</updated><category term="mysql"/><category term="Python"/><category term="Facebook"/><category term="IPhone"/><category term="hortonworks sandbox"/><category term="pandas"/><category term="Blogger"/><category term="Facebook Graph API"/><category term="jupyter"/><category term="ColdFusion"/><category term="Search"/><category term="Windows 7"/><category term="anaconda"/><category term="cloudera"/><category term="databricks"/><category term="datetime"/><category term="groupby"/><category term="hadoop"/><category term="hdfs"/><category term="hortonworks"/><category term="numpy"/><category term="photography"/><category term="raspberry pi"/><category term="rpi"/><category term="sql"/><category term="virtualenv"/><category term="weekly news"/><category term="Android"/><category term="Browsers"/><category term="DataFrame"/><category term="Facebook Users in Singapore"/><category term="Firefox"/><category term="Google"/><category term="Google Charts"/><category term="Google Code"/><category term="Google Docs"/><category term="Google Drive"/><category term="Google Playground"/><category term="Google Visualization"/><category term="Internet users in Singapore"/><category term="Ios5"/><category term="JSON"/><category term="JSON data format"/><category term="LinkedIn Users in Singapore"/><category term="MS-DOS"/><category term="MacOS 10.6"/><category term="Population of Singapore"/><category term="Singapore"/><category term="Social Media"/><category term="Statistics"/><category term="Twitter"/><category term="Yahoo App Search"/><category term="ambari"/><category term="apple iphone"/><category term="aws"/><category term="bash"/><category term="batch file"/><category term="big query"/><category term="bill gates"/><category term="blogs"/><category term="centos"/><category term="cfquery"/><category term="cfset"/><category term="cloudera vm"/><category term="code"/><category term="conversion"/><category term="convert"/><category term="create folders"/><category term="csv"/><category term="dataframe width"/><category term="datasets"/><category term="date"/><category term="debian"/><category term="debian stretch"/><category term="dns"/><category term="download zip file"/><category term="excel"/><category term="find files"/><category term="free disk space"/><category term="freeware"/><category term="graphics"/><category term="gspread"/><category term="gui"/><category term="gutenberg wget"/><category term="hive"/><category term="howto"/><category term="iPad"/><category term="iTunes"/><category term="icons"/><category term="jQuery"/><category term="jsonencoder"/><category term="jsx"/><category term="kill"/><category term="kill yum"/><category term="linux"/><category term="mail merge"/><category term="monitor network"/><category term="mqtt"/><category term="mysql data directory"/><category term="network"/><category term="organization chart"/><category term="pInterest"/><category term="php"/><category term="podcasts"/><category term="pyspark"/><category term="quickstart.cloudera"/><category term="react"/><category term="scp"/><category term="seaborn"/><category term="set time"/><category term="ssh"/><category term="startx"/><category term="steve jobs"/><category term="time"/><category term="timedatectl"/><category term="tutorials"/><category term="upgrade"/><category term="videos"/><category term="virtualbox"/><category term="websites"/><category term="welcome"/><category term="width"/><category term="winscp"/><title type='text'>Dora the Techplorer</title><subtitle type='html'>SG female geek shares reviews and tutorials related to Apple gadgets like iPhone, Macbook, IPad as well as other IT technologies like Android and Windows etc.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>114</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-6827633768360914819</id><published>2020-08-01T20:13:00.001+08:00</published><updated>2020-08-01T20:13:09.830+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jsx"/><category scheme="http://www.blogger.com/atom/ns#" term="react"/><title type='text'>Embed JSX code with if condition in React app</title><content type='html'>&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;renderPrice(pt)&amp;nbsp; {&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp;if (pt.amountpaid!=&quot;&quot;) {&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;let ctrl = (&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div&amp;gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;label&amp;gt;Price&amp;lt;/label&amp;gt;&amp;lt;br/&amp;gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=&quot;text&quot; readOnly name=&quot;amountpaid&quot; value={pt.amountpaid} /&amp;gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/&amp;gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;);&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return ctrl;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;&amp;nbsp; &amp;nbsp; } //end if&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot; size=&quot;2&quot;&gt;} //end renderPrice&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;render&lt;/span&gt;()&amp;nbsp;{&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;   &amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;const&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #4fc1ff;&quot;&gt;priceElement&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;renderPrice&lt;/span&gt;(&lt;span style=&quot;color: #4fc1ff;&quot;&gt;purchasetransaction&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;    return&lt;/span&gt;&amp;nbsp;(&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;style&lt;/span&gt;=&lt;span style=&quot;color: #569cd6;&quot;&gt;{&lt;/span&gt;{&lt;span style=&quot;color: #9cdcfe;&quot;&gt;marginTop&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;5em&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;marginLeft&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;2em&#39;&lt;/span&gt;}&lt;span style=&quot;color: #569cd6;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #569cd6;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #4fc1ff;&quot;&gt;priceElement&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;p&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;p&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;                 &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&lt;span style=&quot;color: #6a9955;&quot;&gt;//end&amp;nbsp;render&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/6827633768360914819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2020/08/embed-jsx-code-with-if-condition-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/6827633768360914819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/6827633768360914819'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2020/08/embed-jsx-code-with-if-condition-in.html' title='Embed JSX code with if condition in React app'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-8008729651055942384</id><published>2020-07-28T15:23:00.002+08:00</published><updated>2020-07-28T15:23:35.884+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><title type='text'>Reset root password on MySQL on Windows 10 laptop</title><content type='html'>Stop SQL Server&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Create a text file &quot;mysql-init.txt&quot; in C:\temp directory and paste in this content&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;courier&quot;&gt;ALTER USER &#39;root&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;MyNewPass&#39;;&lt;/font&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Open a command prompt window and run this command&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #666666; font-family: verdana; font-size: small;&quot;&gt;&lt;font color=&quot;#ffffff&quot;&gt;mysqld --defaults-file=&quot;C:\\ProgramData\\MySQL\\MySQL Server 8.0\\my.ini&quot; --init-file=&quot;C:\\temp\\mysql-init.txt&quot;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/8008729651055942384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2020/07/reset-root-password-on-mysql-on-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/8008729651055942384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/8008729651055942384'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2020/07/reset-root-password-on-mysql-on-windows.html' title='Reset root password on MySQL on Windows 10 laptop'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-7773026644046712088</id><published>2020-07-28T15:05:00.000+08:00</published><updated>2020-07-28T15:05:26.576+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><title type='text'>Create a SQL table with autoincrement id and timestamps</title><content type='html'>&lt;div&gt;CREATE TABLE `tutorials` (&lt;/div&gt;&lt;div&gt;&amp;nbsp; `id` int(11) NOT NULL AUTO_INCREMENT,&lt;/div&gt;&lt;div&gt;&amp;nbsp; `title` varchar(255) DEFAULT NULL,&lt;/div&gt;&lt;div&gt;&amp;nbsp; `description` varchar(255) DEFAULT NULL,&lt;/div&gt;&lt;div&gt;&amp;nbsp; `published` tinyint(1) DEFAULT &#39;1&#39;,&lt;/div&gt;&lt;div&gt;&amp;nbsp; `createdAt` timestamp NULL DEFAULT CURRENT_TIMESTAMP,&lt;/div&gt;&lt;div&gt;&amp;nbsp; `updatedAt` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,&lt;/div&gt;&lt;div&gt;&amp;nbsp; PRIMARY KEY (`id`)&lt;/div&gt;&lt;div&gt;)&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/7773026644046712088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2020/07/create-sql-table-with-autoincrement-id.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/7773026644046712088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/7773026644046712088'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2020/07/create-sql-table-with-autoincrement-id.html' title='Create a SQL table with autoincrement id and timestamps'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-1442091709104788499</id><published>2019-05-26T22:23:00.001+08:00</published><updated>2019-05-26T22:23:57.100+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><title type='text'>AWS Policy editor</title><content type='html'>&lt;a href=&quot;https://awspolicygen.s3.amazonaws.com/policygen.html&quot;&gt;https://awspolicygen.s3.amazonaws.com/policygen.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/1442091709104788499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/05/aws-policy-editor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1442091709104788499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1442091709104788499'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/05/aws-policy-editor.html' title='AWS Policy editor'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-8628385189027348403</id><published>2019-05-02T10:33:00.000+08:00</published><updated>2019-05-02T10:33:09.410+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="databricks"/><title type='text'>Download files from Databricks Community Edition</title><content type='html'>Syntax is:&lt;br /&gt;
&lt;br /&gt;
https://community.cloud.databricks.com/files/myStuffs/yourdata.csv/part-00000?o=&amp;lt;yournumber&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/8628385189027348403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/05/download-files-from-databricks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/8628385189027348403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/8628385189027348403'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/05/download-files-from-databricks.html' title='Download files from Databricks Community Edition'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-3796678315869463746</id><published>2019-04-17T10:44:00.001+08:00</published><updated>2019-04-17T12:08:47.692+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jupyter"/><category scheme="http://www.blogger.com/atom/ns#" term="pyspark"/><title type='text'>Run pyspark on Juypter notebook</title><content type='html'>$which python&lt;br /&gt;
$whereis python&lt;br /&gt;
&lt;br /&gt;
# install EPEL repository first&lt;br /&gt;
$ sudo yum install epel-release&lt;br /&gt;
# install python-pip&lt;br /&gt;
$ sudo yum -y install python-pip&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 14px;&quot;&gt;sudo pip install --upgrade setuptools&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #24292e; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;wget https://repo.anaconda.com/archive/Anaconda2-5.0.1-Linux-x86_64.sh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #24292e; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #24292e; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sudo sh Anaconda2-5.0.1-Linux-x86_64.sh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1) Install PySpark&lt;br /&gt;
pip install pyspark&lt;br /&gt;
&lt;br /&gt;
2) Install Java&lt;br /&gt;
&lt;br /&gt;
3) Install Jupyter notebook&lt;br /&gt;
pip install jupyter&lt;br /&gt;
&lt;br /&gt;
4) Install find&lt;br /&gt;
pip install findspark&lt;br /&gt;
&lt;br /&gt;
%env SPARK_HOME=c:\spark&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;# To find out where the pyspark&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;import findspark&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;findspark.init()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;# Creating Spark Context&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;from pyspark import SparkContext&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;sc = SparkContext(&quot;local&quot;, &quot;first app&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;# Calculating words count&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;text_file = sc.textFile(&quot;OneSentence.txt&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;counts = text_file.flatMap(lambda line: line.split(&quot; &quot;)) \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.map(lambda word: (word, 1)) \&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.reduceByKey(lambda a, b: a + b)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;# Printing each word with its respective count&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;output = counts.collect()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;for (word, count) in output:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; print(&quot;{}: {}&quot;.format(word, count))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;# Stopping Spark Context&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;sc.stop()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
Install Python 3.5 on Centos 6&lt;/h3&gt;
sudo yum install centos-release-scl&lt;br /&gt;
sudo yum info rh-python35&lt;br /&gt;
sudo yum install rh-python35&lt;br /&gt;
sudo scl enable rh-python35 bash&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.2daygeek.com/3-methods-to-install-latest-python3-package-on-centos-6-system/&quot;&gt;https://www.2daygeek.com/3-methods-to-install-latest-python3-package-on-centos-6-system/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/3796678315869463746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/run-pyspark-on-juypter-notebook.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/3796678315869463746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/3796678315869463746'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/run-pyspark-on-juypter-notebook.html' title='Run pyspark on Juypter notebook'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-2096605798909406499</id><published>2019-04-16T09:46:00.002+08:00</published><updated>2019-04-16T09:55:13.438+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="graphics"/><category scheme="http://www.blogger.com/atom/ns#" term="icons"/><title type='text'>Useful icons</title><content type='html'>&lt;a href=&quot;https://pngtree.com/free-icon/node-other-database-cluster_741016&quot;&gt;https://pngtree.com/free-icon/node-other-database-cluster_741016&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.clipartmax.com/&quot;&gt;https://www.clipartmax.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/2096605798909406499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/useful-icons.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/2096605798909406499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/2096605798909406499'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/useful-icons.html' title='Useful icons'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-2962677830371616404</id><published>2019-04-08T16:26:00.002+08:00</published><updated>2019-04-08T16:26:44.883+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cloudera vm"/><category scheme="http://www.blogger.com/atom/ns#" term="quickstart.cloudera"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><title type='text'>Set up Cloudera CDH 5.13 todo</title><content type='html'>sudo /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
Edit Virtual Box forwarding, add port 22</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/2962677830371616404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/set-up-cloudera-cdh-513-todo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/2962677830371616404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/2962677830371616404'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/set-up-cloudera-cdh-513-todo.html' title='Set up Cloudera CDH 5.13 todo'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-6277401238715263539</id><published>2019-04-08T13:31:00.003+08:00</published><updated>2019-04-08T16:25:48.725+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hive"/><title type='text'>Troubleshooting Hive</title><content type='html'>&lt;a href=&quot;https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cdh_ig_hiveserver2_start_stop.html&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cdh_ig_hiveserver2_start_stop.html&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Check if Hive metastore is running&lt;br /&gt;
sudo service hive-metastore status&lt;br /&gt;
sudo service hive-metastore stop&lt;br /&gt;
&lt;div&gt;
sudo service hive-metastore start&lt;br /&gt;
sudo service hive-metastore restart&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sudo service hive-server2 stop&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Check if Hive Server2 is running&lt;br /&gt;
$ sudo service hive-server2 status&lt;br /&gt;
&lt;br /&gt;
Start HiveServer2:&lt;br /&gt;
$ sudo service hive-server2 start&lt;br /&gt;
&lt;br /&gt;
To stop HiveServer2:&lt;br /&gt;
$ sudo service hive-server2 stop&lt;br /&gt;
&lt;br /&gt;
Check Hive warehouse&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: , &amp;quot;arial&amp;quot;; font-size: 16px;&quot;&gt;hadoop fs -ls /user/hive/warehouse&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: , &amp;quot;arial&amp;quot;; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: , &amp;quot;arial&amp;quot;; font-size: 16px;&quot;&gt;Connect using Beeline&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: , &amp;quot;arial&amp;quot;; font-size: 16px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: TH; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-SG; mso-hansi-theme-font: minor-latin; mso-no-proof: yes;&quot;&gt;beeline -u jdbc:hive2://&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: , &amp;quot;arial&amp;quot;; font-size: 16px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: TH; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-SG; mso-hansi-theme-font: minor-latin; mso-no-proof: yes;&quot;&gt;!connect -u jdbc:hive2://&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/6277401238715263539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/6277401238715263539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/6277401238715263539'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/blog-post.html' title='Troubleshooting Hive'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-6230193402131476691</id><published>2019-04-03T15:39:00.000+08:00</published><updated>2019-04-03T15:39:08.977+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hortonworks"/><category scheme="http://www.blogger.com/atom/ns#" term="hortonworks sandbox"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="winscp"/><title type='text'>Login Hortonworks Sandbox with WinSCP</title><content type='html'>ssh root@sandbox-hdp.hortonworks.com -p 2222&lt;br /&gt;
&lt;br /&gt;
First-time login, use hadoop as password&lt;br /&gt;
You will be asked to change password upon first login&lt;br /&gt;
&lt;br /&gt;
C:\Users\&amp;lt;username&amp;gt;\.ssh</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/6230193402131476691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/login-hortonworks-sandbox-with-winscp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/6230193402131476691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/6230193402131476691'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/login-hortonworks-sandbox-with-winscp.html' title='Login Hortonworks Sandbox with WinSCP'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-179164789067226299</id><published>2019-04-03T15:11:00.002+08:00</published><updated>2019-04-03T15:11:40.094+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kill"/><category scheme="http://www.blogger.com/atom/ns#" term="kill yum"/><title type='text'>kill yum process </title><content type='html'>&lt;span style=&quot;font-family: Monaco, Consolas, &amp;quot;Andale Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace; font-size: 14px;&quot;&gt;yum list&lt;/span&gt;&lt;br /&gt;
ps -ef | grep 13023&lt;br /&gt;
kill -9 13023</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/179164789067226299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/kill-yum-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/179164789067226299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/179164789067226299'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/kill-yum-process.html' title='kill yum process '/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-405043652909464644</id><published>2019-04-02T11:39:00.001+08:00</published><updated>2019-04-02T11:43:50.046+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dns"/><title type='text'>Troubleshoot DNS on CDH </title><content type='html'>sudo nano /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
nameserver 8.8.8.8&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #f5f7f8; color: #212529; font-family: Inconsolata, monospace; font-size: 14px;&quot;&gt;# /etc/init.d/network stop&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; color: #212529; font-family: Inconsolata, monospace; font-size: 14px;&quot; /&gt;&lt;span style=&quot;background-color: #f5f7f8; color: #212529; font-family: Inconsolata, monospace; font-size: 14px;&quot;&gt;# /etc/init.d/network start&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f5f7f8; color: #212529; font-family: Inconsolata, monospace; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f5f7f8; color: #212529; font-family: Inconsolata, monospace; font-size: 14px;&quot;&gt;sudo systemctl restart network&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f5f7f8; color: #212529; font-family: Inconsolata, monospace; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://www.cyberciti.biz/faq/linux-restart-network-interface/&quot;&gt;https://www.cyberciti.biz/faq/linux-restart-network-interface/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/405043652909464644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/troubleshoot-dns-on-cdh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/405043652909464644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/405043652909464644'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/04/troubleshoot-dns-on-cdh.html' title='Troubleshoot DNS on CDH '/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-7428110316592342958</id><published>2019-03-04T14:44:00.002+08:00</published><updated>2019-03-04T14:45:12.738+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="download zip file"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Download zip file using Python</title><content type='html'>https://www.zerotosingularity.com/blog/downloading-datasets-introducting-pdl/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
import requests&lt;br /&gt;
import zipfile&lt;br /&gt;
import os&lt;br /&gt;
&lt;br /&gt;
# download file&lt;br /&gt;
resp = requests.get(f&quot;{url}{file}&quot;, allow_redirects=True, stream=True)&lt;br /&gt;
&lt;br /&gt;
filename = f&quot;{download_dir}{file}&quot;&lt;br /&gt;
&lt;br /&gt;
zfile = open(filename, &#39;wb&#39;)&lt;br /&gt;
zfile.write(resp.content)&lt;br /&gt;
zfile.close()&lt;br /&gt;
&lt;br /&gt;
zipf = zipfile.ZipFile(filename, &#39;r&#39;)&lt;br /&gt;
zipf.extractall(download_dir)&lt;br /&gt;
zipf.close()&lt;br /&gt;
&lt;br /&gt;
os.remove(filename)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre data-type=&quot;programlisting&quot; style=&quot;-webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; background-color: rgb(251, 251, 251) !important; border: 0px; box-sizing: border-box; color: #404040; font-family: &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 15.104px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; hyphens: none; line-height: inherit; margin-bottom: 25px; margin-left: 20px; margin-top: 25px; overflow-wrap: break-word; overflow: auto hidden; padding: 0px; vertical-align: baseline; white-space: pre-wrap; word-break: keep-all !important;&quot;&gt;YEAR=2015
for MONTH=`seq -w 1 12`; do
PARAMS=&quot;UserTableName...
RESPONSE=$(curl -X POST --data &quot;$PARAMS&quot;
http://www.transtats.bts.gov/DownLoad_Table.asp?Table_ID=236&amp;amp;Has_Group=3&amp;amp;Is_
Zipped=0)
echo &quot;Received $RESPONSE&quot;
ZIPFILE=$(echo $RESPONSE | tr &#39;\&quot;&#39; &#39;\n&#39; | grep zip)
echo $ZIPFILE
curl -o $YEAR$MONTH.zip $ZIPFILE
done&lt;/pre&gt;
&lt;div&gt;
Is this useful?&lt;br /&gt;
https://stackoverflow.com/questions/51665087/python-download-zip-file-from-restapi&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/7428110316592342958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/03/download-zip-file-using-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/7428110316592342958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/7428110316592342958'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/03/download-zip-file-using-python.html' title='Download zip file using Python'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-1318687801027531845</id><published>2019-03-01T15:44:00.001+08:00</published><updated>2019-03-01T15:44:06.925+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gutenberg wget"/><title type='text'>Get a book from Gutenberg</title><content type='html'>&lt;pre class=&quot;brush: text; plain-text&quot; id=&quot;code&quot; style=&quot;font-size: 12px; overflow-wrap: break-word; padding: 10px; white-space: pre-wrap;&quot;&gt;wget http://www.gutenberg.org/cache/epub/11/pg11.txt&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/1318687801027531845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/03/get-book-from-gutenberg.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1318687801027531845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1318687801027531845'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/03/get-book-from-gutenberg.html' title='Get a book from Gutenberg'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-2110970489936432167</id><published>2019-01-30T14:57:00.002+08:00</published><updated>2019-01-30T14:57:42.145+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="pandas"/><title type='text'>utorial: Using pandas with Large Data Sets</title><content type='html'>https://www.dataquest.io/blog/pandas-big-data/</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/2110970489936432167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/utorial-using-pandas-with-large-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/2110970489936432167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/2110970489936432167'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/utorial-using-pandas-with-large-data.html' title='utorial: Using pandas with Large Data Sets'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-1345739565205323969</id><published>2019-01-30T14:56:00.000+08:00</published><updated>2019-01-30T14:56:50.767+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dataframe width"/><category scheme="http://www.blogger.com/atom/ns#" term="pandas"/><category scheme="http://www.blogger.com/atom/ns#" term="width"/><title type='text'>Adjust width of pandas dataframe</title><content type='html'>https://stackoverflow.com/questions/52369572/python-how-to-get-data-types-for-all-columns-in-csv-file&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;lang-py prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;pd&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;set_option&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;max_info_columns&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/1345739565205323969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/adjust-width-of-pandas-dataframe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1345739565205323969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1345739565205323969'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/adjust-width-of-pandas-dataframe.html' title='Adjust width of pandas dataframe'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-4321817170935907946</id><published>2019-01-29T20:57:00.003+08:00</published><updated>2019-02-15T13:16:57.450+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="virtualenv"/><title type='text'>Create a Python 3.6 environment on top of Python 3.7</title><content type='html'>cd d:\&lt;br /&gt;
python -m venv D:\mypython36_venv&lt;br /&gt;
rem cd d:\mypython36_venv&lt;br /&gt;
D:\mypython36_venv\Scripts\activate&lt;br /&gt;
D:\mypython36_venv\Scripts\deactivate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This one is for Python 2.7 on Raspberry Pi&lt;br /&gt;
python -m virtualenv python_venv&lt;br /&gt;
cd python_venv&lt;br /&gt;
source mypython/bin/activate</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/4321817170935907946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/create-python-36-environment-on-top-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/4321817170935907946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/4321817170935907946'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/create-python-36-environment-on-top-of.html' title='Create a Python 3.6 environment on top of Python 3.7'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-3060405046670924144</id><published>2019-01-24T14:52:00.003+08:00</published><updated>2019-01-24T14:52:43.628+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql data directory"/><title type='text'>Find out where is mysql data directory</title><content type='html'>&lt;pre class=&quot;lang-sql prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;SHOW VARIABLES WHERE Variable_Name LIKE &quot;%dir&quot;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;lang-sql prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;SHOW VARIABLES WHERE Variable_Name = &quot;datadir&quot;&#39;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/3060405046670924144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/find-out-where-is-mysql-data-directory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/3060405046670924144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/3060405046670924144'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/find-out-where-is-mysql-data-directory.html' title='Find out where is mysql data directory'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-3891417463806986461</id><published>2019-01-23T17:04:00.002+08:00</published><updated>2019-01-23T17:04:45.165+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="datasets"/><title type='text'>datasets</title><content type='html'>https://www.chicago.gov/city/en/depts/dhr/dataset/current_employeenamessalariesandpositiontitles.html&lt;br /&gt;
&lt;br /&gt;
Sourced from:&amp;nbsp;https://janakiev.com/blog/pandas-groupby/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/3891417463806986461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/datasets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/3891417463806986461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/3891417463806986461'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/datasets.html' title='datasets'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-9094157799949536338</id><published>2019-01-16T22:31:00.001+08:00</published><updated>2019-01-16T22:48:23.056+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ambari"/><category scheme="http://www.blogger.com/atom/ns#" term="hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="hortonworks"/><title type='text'>check if ambari is ready</title><content type='html'>https://ambari.apache.org/1.2.0/installing-hadoop-using-ambari/content/ambari-chap2-3.html\&lt;br /&gt;
&lt;br /&gt;
3. Start the Ambari Server&lt;br /&gt;
To start the Ambari Server:&lt;br /&gt;
&lt;br /&gt;
ambari-server start&lt;br /&gt;
To check the Ambari Server processes:&lt;br /&gt;
&lt;br /&gt;
ps -ef | grep Ambari&lt;br /&gt;
To stop the Ambari Server:&lt;br /&gt;
&lt;br /&gt;
ambari-server stop&lt;br /&gt;
&lt;br /&gt;
https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Shell&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVyChECX1RcHKSCAP-L3DLBcxkMOAFqtP3gJDgJ3nlebiEoxfQ-bThx9oLmQWRCj-3Jo8i7E83AnMUh6U2ohmsN3S-oy8qVJfdRATD2Ki73mvWMNCNQONqmVHHvYWJcE8MAmgqb1kU_w4/s1600/2019-01-16_224707+ambari+takes+very+long+to+start+services.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;535&quot; data-original-width=&quot;1294&quot; height=&quot;132&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVyChECX1RcHKSCAP-L3DLBcxkMOAFqtP3gJDgJ3nlebiEoxfQ-bThx9oLmQWRCj-3Jo8i7E83AnMUh6U2ohmsN3S-oy8qVJfdRATD2Ki73mvWMNCNQONqmVHHvYWJcE8MAmgqb1kU_w4/s320/2019-01-16_224707+ambari+takes+very+long+to+start+services.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/9094157799949536338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/check-if-ambari-is-ready.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/9094157799949536338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/9094157799949536338'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/check-if-ambari-is-ready.html' title='check if ambari is ready'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVyChECX1RcHKSCAP-L3DLBcxkMOAFqtP3gJDgJ3nlebiEoxfQ-bThx9oLmQWRCj-3Jo8i7E83AnMUh6U2ohmsN3S-oy8qVJfdRATD2Ki73mvWMNCNQONqmVHHvYWJcE8MAmgqb1kU_w4/s72-c/2019-01-16_224707+ambari+takes+very+long+to+start+services.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-5177067604331037335</id><published>2019-01-01T22:24:00.002+08:00</published><updated>2019-01-01T22:48:30.681+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hortonworks sandbox"/><title type='text'>Install mysql on hortonworks sandbox</title><content type='html'>https://community.hortonworks.com/questions/78566/where-is-mysql-in-hdp-25.html&lt;br /&gt;
&lt;br /&gt;
https://community.hortonworks.com/questions/203206/mysql-default-password-first-time-sandbox-login.html</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/5177067604331037335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/install-mysql-on-hortonworks-sandbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/5177067604331037335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/5177067604331037335'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/install-mysql-on-hortonworks-sandbox.html' title='Install mysql on hortonworks sandbox'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-2365102706869656708</id><published>2019-01-01T20:32:00.002+08:00</published><updated>2019-01-01T20:32:37.805+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hortonworks sandbox"/><category scheme="http://www.blogger.com/atom/ns#" term="scp"/><title type='text'>Transfer files from Windows laptop to the Hortonworks VM</title><content type='html'>On Windows laptop, open a new terminal window, navigate to the folder where you have stored your files.&lt;br /&gt;
Execute the following commands to transfer the files from your laptop to your Hortonworks VM&lt;br /&gt;
&lt;br /&gt;
scp -P 2222 * filetotransfer.txt root@sandbox-hdp.hortonworks.com:/tmp/data&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/2365102706869656708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/transfer-files-from-windows-laptop-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/2365102706869656708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/2365102706869656708'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/transfer-files-from-windows-laptop-to.html' title='Transfer files from Windows laptop to the Hortonworks VM'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-1199385379786591652</id><published>2019-01-01T14:15:00.001+08:00</published><updated>2019-01-01T14:15:13.064+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hortonworks sandbox"/><title type='text'>Hortonworks Settings to change</title><content type='html'>&lt;h2&gt;
Minimum replicated blocks %&lt;/h2&gt;
Change to zero&lt;br /&gt;
&lt;br /&gt;
This will prevent HDFS from going into safe mode, which will in turn cause YARN not to run properly</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/1199385379786591652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/hortonworks-settings-to-change.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1199385379786591652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1199385379786591652'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/hortonworks-settings-to-change.html' title='Hortonworks Settings to change'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-448874853184796489</id><published>2019-01-01T14:08:00.002+08:00</published><updated>2019-01-01T14:08:36.258+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hdfs"/><title type='text'>YARN service starting problem</title><content type='html'>&lt;h2&gt;
Check if HDFS is in safe mode&lt;/h2&gt;
hdfs dfsadmin -safemode get&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Force HDFS to leave safe mode&lt;/h2&gt;
hdfs dfsadmin -safemode leave&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
HDFS safemode command&lt;/h2&gt;
hdfs dfsadmin -safemode [enter | leave | get]</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/448874853184796489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/yarn-service-starting-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/448874853184796489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/448874853184796489'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2019/01/yarn-service-starting-problem.html' title='YARN service starting problem'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6880324586446193562.post-1385180212914759872</id><published>2018-12-22T22:55:00.002+08:00</published><updated>2018-12-22T22:55:32.465+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="debian stretch"/><category scheme="http://www.blogger.com/atom/ns#" term="gui"/><category scheme="http://www.blogger.com/atom/ns#" term="startx"/><title type='text'>Install GUI on Debian stretch</title><content type='html'>&lt;pre style=&quot;background-color: #f5f6f7; border: 1px solid rgb(210, 211, 215); font-size: 13px; line-height: 2em; margin: 2em 1.5em; outline: 0px; overflow-wrap: break-word; overflow: auto; padding: 1em; vertical-align: baseline;&quot;&gt;apt-get install task-gnome-desktop&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dorathetechplorer.blogspot.com/feeds/1385180212914759872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dorathetechplorer.blogspot.com/2018/12/install-gui-on-debian-stretch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1385180212914759872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6880324586446193562/posts/default/1385180212914759872'/><link rel='alternate' type='text/html' href='http://dorathetechplorer.blogspot.com/2018/12/install-gui-on-debian-stretch.html' title='Install GUI on Debian stretch'/><author><name>Ms Dora Chua</name><uri>http://www.blogger.com/profile/03680229013954976976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>