<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Pushing file to HDFS and Cluster AND How to connect to Cloudera from remote machine which is not part of cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Pushing-file-to-HDFS-and-Cluster-AND-How-to-connect-to/m-p/293060#M216456</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a Linux box which i configured HDFS client to connect and able to put files in the directories.&lt;/P&gt;
&lt;P&gt;Note that the machine is not part of the cluster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Is it possible to run hive queries through hive CLI from this client machine? If so what all configuration i need to to.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Need one understanding on pushing file to hdfs. If i am pushing the file to hive table under below location and if it is a clustered ENV. will there be any side effect? As of now mine is a single node cluster so using the below.&lt;/P&gt;
&lt;P&gt;hdfs dfs -rm -r&amp;nbsp;/user/hive/warehouse/schema.db/table&lt;BR /&gt;hdfs dfs -copyFromLocal -f /scratch/mano/table.dat /user/hive/warehouse/schema.db/table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Manoj&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 11:55:27 GMT</pubDate>
    <dc:creator>ManoranjanS</dc:creator>
    <dc:date>2020-04-01T11:55:27Z</dc:date>
    <item>
      <title>Pushing file to HDFS and Cluster AND How to connect to Cloudera from remote machine which is not part of cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pushing-file-to-HDFS-and-Cluster-AND-How-to-connect-to/m-p/293060#M216456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a Linux box which i configured HDFS client to connect and able to put files in the directories.&lt;/P&gt;
&lt;P&gt;Note that the machine is not part of the cluster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Is it possible to run hive queries through hive CLI from this client machine? If so what all configuration i need to to.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Need one understanding on pushing file to hdfs. If i am pushing the file to hive table under below location and if it is a clustered ENV. will there be any side effect? As of now mine is a single node cluster so using the below.&lt;/P&gt;
&lt;P&gt;hdfs dfs -rm -r&amp;nbsp;/user/hive/warehouse/schema.db/table&lt;BR /&gt;hdfs dfs -copyFromLocal -f /scratch/mano/table.dat /user/hive/warehouse/schema.db/table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 11:55:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pushing-file-to-HDFS-and-Cluster-AND-How-to-connect-to/m-p/293060#M216456</guid>
      <dc:creator>ManoranjanS</dc:creator>
      <dc:date>2020-04-01T11:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pushing file to HDFS and Cluster AND How to connect to Cloudera from remote machine which is not part of cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pushing-file-to-HDFS-and-Cluster-AND-How-to-connect-to/m-p/293065#M216461</link>
      <description>&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 1: Yes, it is possible to install client packages in a separate machine and connect to a Hadoop server. Follow the link (&lt;A href="https://docs.cloudera.com/documentation/enterprise/5-3-x/topics/cm_mc_client_config.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/5-3-x/topics/cm_mc_client_config.html&lt;/A&gt;) which has detailed information about how to download and deploy client configuration file manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 2:&amp;nbsp; If you push a file from local to HDFS normal HDFS write operation will be performed. Check out the link(&lt;A href="https://hadoop.apache.org/docs/r1.2.1/hdfs_design.html" target="_blank"&gt;https://hadoop.apache.org/docs/r1.2.1/hdfs_design.html&lt;/A&gt;) for detailed information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's Hadoop&lt;/P&gt;&lt;P&gt;Rajkumar&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 12:56:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pushing-file-to-HDFS-and-Cluster-AND-How-to-connect-to/m-p/293065#M216461</guid>
      <dc:creator>Shifu</dc:creator>
      <dc:date>2020-04-01T12:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pushing file to HDFS and Cluster AND How to connect to Cloudera from remote machine which is not part of cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Pushing-file-to-HDFS-and-Cluster-AND-How-to-connect-to/m-p/293332#M216637</link>
      <description>&lt;P&gt;Hi MRajkumar,&lt;/P&gt;&lt;P&gt;I added the the machine to the cluster,&lt;/P&gt;&lt;P&gt;but interested in knowing if i don't add the machine to cluster and i want to setup client configuration for HDFS I am able to ping and update any file in HDFS but can i configure for hive as well to run hive qurery through command-line like below.&lt;/P&gt;&lt;P&gt;USE schemaName;&lt;BR /&gt;LOAD DATA INPATH '${HDFS_LOAD_DIR}/table.csv' OVERWRITE INTO TABLE table;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd question is: When i used HDFS client commands and placed the file under the hive warehouse table directory directly the data file i can see the same data when i query on hue, Note that mine is a single node cluster means only one data node is present. What if it is a multi node and many data nodes are present, in that case&amp;nbsp; the file will be replicated in all of them, if i perform the below command will it be propagated? and replicated the same on all the data nodes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;hdfs dfs -rm -r $TABLE_PATH/*&lt;BR /&gt;hdfs dfs -copyFromLocal -f $dat/csvfilepath $TABLE_PATH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my $TABLE_PATH is the warehouse directory+schamaname.db+/tablename&lt;/P&gt;&lt;P&gt;$TABLE_PATH=/user/hive/warehouse/schema1.db/table&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 08:22:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Pushing-file-to-HDFS-and-Cluster-AND-How-to-connect-to/m-p/293332#M216637</guid>
      <dc:creator>ManoranjanS</dc:creator>
      <dc:date>2020-04-06T08:22:26Z</dc:date>
    </item>
  </channel>
</rss>

