<?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 Re: Configure hadoop-client tools to access hdfs from external computer in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56048#M63065</link>
    <description>&lt;P&gt;Thanks a bunch! &amp;nbsp;That's kind of what I feared. &amp;nbsp;Glad I didn't go down too much of a rabbit hole yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For what it's worth, the process is really easy to get `impala-shell` working. &amp;nbsp;I just added the Cloudera repository, installed with apt-get and then put the ip address of an impala node into the commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to get something similar for hdfs. &amp;nbsp;Oh well. &amp;nbsp;I'll look into what you said.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2017 23:28:53 GMT</pubDate>
    <dc:creator>epowell</dc:creator>
    <dc:date>2017-06-16T23:28:53Z</dc:date>
    <item>
      <title>Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56038#M63062</link>
      <description>&lt;P&gt;I would like to be able to perform hdfs commands from a computer that is NOT actually part of the cloudera cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, performing simple put/get operations or&lt;/P&gt;&lt;PRE&gt;hdfs dfs -ls /my/dir&lt;/PRE&gt;&lt;P&gt;I have installed the correct binaries, I think. &amp;nbsp;I found from CM that I was using CDH4.7.1. &amp;nbsp;So, I installed (sudo apt-get install hadoop-client) the binaries from &lt;A href="https://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh/dists/precise-cdh4.7.1/contrib/binary-amd64/Packages" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -ls /&lt;/PRE&gt;&lt;P&gt;I get:&lt;/P&gt;&lt;PRE&gt;Error: JAVA_HOME is not set and could not be found.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel that this might just be the beginning of a long tinkering and configuring process and I unfortunately know nothing about java. &amp;nbsp;I do, however, know the IPs of the namenodes on my cluster and have access to all admin rights from beginning to end. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me get things configured?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. In case it wasn't clear. &amp;nbsp;I can perform all desired functionality on nodes that are part of the cluster. &amp;nbsp;I just want to do something similar from my development environment.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 19:33:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56038#M63062</guid>
      <dc:creator>epowell</dc:creator>
      <dc:date>2017-06-16T19:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56042#M63063</link>
      <description>&lt;P&gt;I should refine my question. &amp;nbsp;Part of what prompted this is that I noticed on the nodes of the cluster that $JAVA_HOME is not defined either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That makes me think that there might be certain configuration files on the cluster nodes that maybe I can copy over to my development environment.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 21:42:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56042#M63063</guid>
      <dc:creator>epowell</dc:creator>
      <dc:date>2017-06-16T21:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56047#M63064</link>
      <description>&lt;P&gt;It is part of the magic that happens when you install a gateway roles on a nodes using CM. &amp;nbsp;It installs the binaries, download the client configs, sets env vars in such a way that no users on that nodes need to do it. &amp;nbsp;It just works. &amp;nbsp;I have not dug into it to determine how. &amp;nbsp;I expected that it is wrapped up in scripts somewhere that get called when using the clients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without it, you will need to do it all yourself. &amp;nbsp;And JAVA_HOME isn't the only one, HADOOP_HOME, HADOOP_CONF, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Hadoop docs should &amp;nbsp;have some information on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or... you can add the machine in question to CM, add the gateway role, and then remove it from the cluster. &amp;nbsp;You shouldn't need to uninstall the gateway role to remove it from the cluster. &amp;nbsp;No license is required for the gateway roles either.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 23:24:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56047#M63064</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-06-16T23:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56048#M63065</link>
      <description>&lt;P&gt;Thanks a bunch! &amp;nbsp;That's kind of what I feared. &amp;nbsp;Glad I didn't go down too much of a rabbit hole yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For what it's worth, the process is really easy to get `impala-shell` working. &amp;nbsp;I just added the Cloudera repository, installed with apt-get and then put the ip address of an impala node into the commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to get something similar for hdfs. &amp;nbsp;Oh well. &amp;nbsp;I'll look into what you said.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 23:28:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56048#M63065</guid>
      <dc:creator>epowell</dc:creator>
      <dc:date>2017-06-16T23:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56476#M63066</link>
      <description>For what it is worth, I just did this and it worked.&lt;BR /&gt;&lt;BR /&gt;1. set up the cdh 5 repo&lt;BR /&gt;2. installed hadoop-client with my package manager&lt;BR /&gt;3. updated the configs manually (scp or cm api)&lt;BR /&gt;4. ???&lt;BR /&gt;5. profit</description>
      <pubDate>Mon, 26 Jun 2017 09:22:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56476#M63066</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-06-26T09:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56502#M63067</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18127"&gt;@mbigelow&lt;/a&gt;&amp;nbsp;this is really exciting. &amp;nbsp;Thanks for following up on this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am way back on CM 4.8.5 and CDH 4. &amp;nbsp;Nevertheless, I downloaded and installed the repos similar to what you mention in step two.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step three is a little foggy for me. &amp;nbsp;Can you elaborate on "updated the configs manually"? &amp;nbsp;Specifically, which configs should I copy over?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again. &amp;nbsp;This would be a huge win for me if this works.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 14:14:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56502#M63067</guid>
      <dc:creator>epowell</dc:creator>
      <dc:date>2017-06-26T14:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56527#M63068</link>
      <description>I just copied it over from a cluster node.</description>
      <pubDate>Tue, 27 Jun 2017 01:28:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56527#M63068</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-06-27T01:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56579#M63069</link>
      <description>&lt;P&gt;Sorry. &amp;nbsp;I'm really, really new at Hadoop and Cloudera. &amp;nbsp;I actually have no idea where any of the config files are on the cluster nodes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me the paths to the config files or tell me where I can find them? &amp;nbsp;Or maybe you could tell me the filenames and I'll search with `find`. &amp;nbsp;Whatever is easiest...&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 14:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56579#M63069</guid>
      <dc:creator>epowell</dc:creator>
      <dc:date>2017-06-27T14:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56581#M63070</link>
      <description>They should be under /etc/&amp;lt;service&amp;gt;/conf, where service can be hadoop, hive, yarn, etc.</description>
      <pubDate>Tue, 27 Jun 2017 14:43:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56581#M63070</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-06-27T14:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56618#M63071</link>
      <description>&lt;P&gt;Is you cluster managed by cloduera manager ?&lt;BR /&gt;&lt;BR /&gt;if not it is pretty straight forward you can grab it from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/etc/hadoop/conf/&lt;/PRE&gt;&lt;P&gt;grab the core-site.xml , hdfs-site.xml , hive-site.xml&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 04:55:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56618#M63071</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-28T04:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56626#M63072</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18127"&gt;@mbigelow&lt;/a&gt;&amp;nbsp; " It is part of the magic that happens when you install a gateway role "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you referring to the&amp;nbsp; NFS gateway role ?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 11:58:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56626#M63072</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-28T11:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56672#M63073</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16544"&gt;@csguna&lt;/a&gt; No, the YARN gateway, HDFS gateway, Hive gateway, etc. Each of these will install the binaries, libraries, set env vars, and client configuration files for its service.</description>
      <pubDate>Thu, 29 Jun 2017 02:53:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56672#M63073</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-06-29T02:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56678#M63074</link>
      <description>&lt;P&gt;Yes, thank you. &amp;nbsp;That did the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, basically, my procedure was as follows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add the cloudera repository containing the hadoop binaries&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;sudo vim /etc/apt/sources.list.d/cloudera-manager.list&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Install the binaries. &amp;nbsp;I used hadoop-client package and that was enough.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;sudo apt-get install hadoop-client&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Install Java. &amp;nbsp;This made the error about $JAVA_HOME go away even though I still don't have that env set.&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;sudo apt-get install openjdk-6-jre-headless&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Copy the config files from a functioning cluster node&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;sudo scp user@cluster:/etc/hadoop/conf/* /etc/hadoop/conf&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 03:27:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56678#M63074</guid>
      <dc:creator>epowell</dc:creator>
      <dc:date>2017-06-29T03:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56679#M63075</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/18127"&gt;@mbigelow&lt;/a&gt;&amp;nbsp; I got confused .&amp;nbsp;THanks for clarifying it .&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 04:45:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/56679#M63075</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-06-29T04:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Configure hadoop-client tools to access hdfs from external computer</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/64363#M63076</link>
      <description>&lt;P&gt;Hi, referring to the last step, do you encounter the Permission denied error when doing scp?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo scp user@cluster:/etc/hadoop/conf/* /etc/hadoop/conf&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to copy all the files inside /conf except for container-executor.cfg which shows the message in terminal below:&lt;/P&gt;&lt;PRE&gt;scp: /etc/hadoop/conf/container-executor.cfg: Permission denied&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Feb 2018 06:07:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configure-hadoop-client-tools-to-access-hdfs-from-external/m-p/64363#M63076</guid>
      <dc:creator>user21239873</dc:creator>
      <dc:date>2018-02-06T06:07:00Z</dc:date>
    </item>
  </channel>
</rss>

