<?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: Implementing WordCount with Cascading on HDP 2.1 Sandbox in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151201#M20421</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2579/revathymurugesan.html" nodeid="2579"&gt;@Revathy Mourouguessane&lt;/A&gt;  You can ignore this warning WARN hdfs.DFSClient: DFSInputStream has been closed already. There is a jira opened already to address this&lt;/P&gt;&lt;P&gt;I am sure you are following this &lt;A href="http://hortonworks.com/hadoop-tutorial/cascading-hortonworks-data-platform-2-1/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/cascading-hortonworks-data-platform-2-1/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check your JAVA_HOME setting.&lt;/P&gt;&lt;P&gt;What's is the output of echo $JAVA_HOME?&lt;/P&gt;</description>
    <pubDate>Sun, 21 Feb 2016 19:49:29 GMT</pubDate>
    <dc:creator>nsabharwal</dc:creator>
    <dc:date>2016-02-21T19:49:29Z</dc:date>
    <item>
      <title>Implementing WordCount with Cascading on HDP 2.1 Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151197#M20417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you help me to resolve this error.&lt;/P&gt;&lt;PRE&gt;[root@sandbox ~]# yarn jar /tmp/MRJar/WordCount.jar com.denmark.danskeBank.vo.WordCount /tmp/data/hamlet.txt /tmp/output                             
Not a valid JAR: /tmp/MRJar/WordCount.jar
&lt;/PRE&gt;&lt;P&gt;This is what I have done:
1. Created the WordCount.jar file in eclipse with Hadoop1.x jars
2. Uploaded to HDFS dir - /tmp/MRJar
3. I got this error. Then I tried -&lt;/P&gt;&lt;PRE&gt;[root@sandbox ~]# hadoop fs -copyToLocal /tmp/MRJar/WordCount.jar /MapReduce                                                                         
&lt;/PRE&gt;&lt;P&gt;16/02/21 05:46:07 WARN hdfs.DFSClient: DFSInputStream has been closed already &lt;/P&gt;&lt;P&gt;I also tried the steps given to run through gradle.&lt;/P&gt;&lt;P&gt;1. While executing - ~/gradle-1.9/bin/gradle clean jar, I got an error:&lt;/P&gt;&lt;PRE&gt;[cascade@sandbox part2]$ ~/gradle-1.9/bin/gradle clean jar
ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91.x8
&lt;/PRE&gt;&lt;P&gt; I would wanted to create my MapReduce and try executing for practising - I am not a java developer.&lt;/P&gt;&lt;P&gt;Could you guide me!!!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 14:03:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151197#M20417</guid>
      <dc:creator>Eukrev</dc:creator>
      <dc:date>2016-02-21T14:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WordCount with Cascading on HDP 2.1 Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151198#M20418</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2579/revathymurugesan.html"&gt;Revathy Mourouguessane&lt;/A&gt;, See this thread. It provides guidance for running "word count" program on HDP Sandbox.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=5MYv8usiMnE" target="_blank"&gt;https://www.youtube.com/watch?v=5MYv8usiMnE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you solving this error.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 14:14:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151198#M20418</guid>
      <dc:creator>rushikeshdeshmu</dc:creator>
      <dc:date>2016-02-21T14:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WordCount with Cascading on HDP 2.1 Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151199#M20419</link>
      <description>&lt;P&gt;Your jae needs to be on local filesysyem and preferably not /tmp. If you are logged on as root leavw the jar in /root and just run it like so&lt;/P&gt;&lt;PRE&gt;yarn jar jarname
&lt;/PRE&gt;</description>
      <pubDate>Sun, 21 Feb 2016 18:34:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151199#M20419</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-21T18:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WordCount with Cascading on HDP 2.1 Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151200#M20420</link>
      <description>&lt;P&gt;For Java homecerror run one of my jdk scripts in administration folder &lt;A href="https://github.com/dbist/scripts"&gt;https://github.com/dbist/scripts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 18:37:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151200#M20420</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-21T18:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WordCount with Cascading on HDP 2.1 Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151201#M20421</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2579/revathymurugesan.html" nodeid="2579"&gt;@Revathy Mourouguessane&lt;/A&gt;  You can ignore this warning WARN hdfs.DFSClient: DFSInputStream has been closed already. There is a jira opened already to address this&lt;/P&gt;&lt;P&gt;I am sure you are following this &lt;A href="http://hortonworks.com/hadoop-tutorial/cascading-hortonworks-data-platform-2-1/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/cascading-hortonworks-data-platform-2-1/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check your JAVA_HOME setting.&lt;/P&gt;&lt;P&gt;What's is the output of echo $JAVA_HOME?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2016 19:49:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151201#M20421</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-21T19:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WordCount with Cascading on HDP 2.1 Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151202#M20422</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2304-screen-shot-2016-02-21-at-70701-am.png" style="width: 2126px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21194i7B183C4BAB6D3D7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2304-screen-shot-2016-02-21-at-70701-am.png" alt="2304-screen-shot-2016-02-21-at-70701-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;[guest@sandbox dataprocessing]$ find / -name java&lt;/P&gt;&lt;P&gt;[guest@sandbox dataprocessing]$ &lt;STRONG&gt;export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.95.x86_64/jre&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[guest@sandbox dataprocessing]$ ~/gradle-1.9/bin/gradle clean jar&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Build file '/home/guest/examples/dataprocessing/build.gradle': line 9&lt;/P&gt;&lt;P&gt;The RepositoryHandler.mavenRepo() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the maven() method instead.&lt;/P&gt;&lt;P&gt;:clean UP-TO-DATE&lt;/P&gt;&lt;P&gt;:compileJava&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:56:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151202#M20422</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-18T12:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WordCount with Cascading on HDP 2.1 Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151203#M20423</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2305-screen-shot-2016-02-21-at-71036-am.png" style="width: 1862px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21193i8042DD2C441C6CCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2305-screen-shot-2016-02-21-at-71036-am.png" alt="2305-screen-shot-2016-02-21-at-71036-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;BUILD SUCCESSFUL&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:56:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151203#M20423</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-18T12:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WordCount with Cascading on HDP 2.1 Sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151204#M20424</link>
      <description>&lt;P&gt;I was successful in executing a MapReduce Job. Since the method Job.setBy.JarName(WordCount.class) was missing it was unable to find out the Mapper class. Thanks!!!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 08:45:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-WordCount-with-Cascading-on-HDP-2-1-Sandbox/m-p/151204#M20424</guid>
      <dc:creator>Eukrev</dc:creator>
      <dc:date>2016-02-23T08:45:33Z</dc:date>
    </item>
  </channel>
</rss>

