<?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 Hadoop Eclipse plugin in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Eclipse-plugin/m-p/103077#M15335</link>
    <description>&lt;PRE&gt;I am getting below error while executing Simple mapreduce programme using eclipse 'mars'
Hadoop 2.6
ubuntu: 15.05 (hacked it and made it 14.04 to avaoid any compatibility issues with hadoop)
using hadoop­eclipse pluggin 2.6
Note that i am able to connect to HDFS via eclipse plugging since in the DFS location on right hand side i can
see the directory structure of HDFS.
Please find below the settings in eclipse and help to overcome the error while executing Mapreduce programme.
(Please note that if i make a jar out of the project via eclipse and run it in traditional command prompt way, i am
getting no issues(as the output and results are clearly visible in DFS location in eclipse, but i want to run it wia
eclipse as a whole))
Error while exeuting the programme :
Picked up JAVA_TOOL_OPTIONS: ­javaagent:/usr/share/java/jayatanaag.jar
2016­01­08 07:32:46,255 INFO [main] datanode.DataNode
(StringUtils.java:startupShutdownMessage(633)) ­ STARTUP_MSG:
/************************************************************
.....
...
..
STARTUP_MSG: build = &lt;A href="https://git­wip­us.apache.org/repos/asf/hadoop.git" target="_blank"&gt;https://git­wip­us.apache.org/repos/asf/hadoop.git&lt;/A&gt; ­r
e3496499ecb8d220fba99dc5ed4c99c8f9e33bb1; compiled by 'jenkins' on 2014­11­13T21:10Z
STARTUP_MSG: java = 1.8.0_66
************************************************************/
2016­01­08 07:32:46,271 INFO [main] datanode.DataNode (SignalLogger.java:register(91)) ­
registered UNIX signal handlers for [TERM, HUP, INT]
Usage: java DataNode [­regular | ­rollback]
­regular : Normal DataNode startup (default).
­rollback : Rollback a standard or rolling upgrade.
Refer to HDFS documentation for the difference between standard
and rolling upgrades.
2016­01­08 07:32:46,770 WARN [main] datanode.DataNode (DataNode.java:secureMain(2392)) ­
Exiting Datanode
2016­01­08 07:32:46,773 INFO [main] util.ExitUtil (ExitUtil.java:terminate(124)) ­ Exiting
with status 1
2016­01­08 07:32:46,778 INFO [Thread­1] datanode.DataNode (StringUtils.java:run(659)) ­
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down DataNode at prince/127.0.1.1
************************************************************/&lt;/PRE&gt;</description>
    <pubDate>Tue, 19 Jan 2016 02:44:14 GMT</pubDate>
    <dc:creator>bhupendra</dc:creator>
    <dc:date>2016-01-19T02:44:14Z</dc:date>
    <item>
      <title>Hadoop Eclipse plugin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Eclipse-plugin/m-p/103077#M15335</link>
      <description>&lt;PRE&gt;I am getting below error while executing Simple mapreduce programme using eclipse 'mars'
Hadoop 2.6
ubuntu: 15.05 (hacked it and made it 14.04 to avaoid any compatibility issues with hadoop)
using hadoop­eclipse pluggin 2.6
Note that i am able to connect to HDFS via eclipse plugging since in the DFS location on right hand side i can
see the directory structure of HDFS.
Please find below the settings in eclipse and help to overcome the error while executing Mapreduce programme.
(Please note that if i make a jar out of the project via eclipse and run it in traditional command prompt way, i am
getting no issues(as the output and results are clearly visible in DFS location in eclipse, but i want to run it wia
eclipse as a whole))
Error while exeuting the programme :
Picked up JAVA_TOOL_OPTIONS: ­javaagent:/usr/share/java/jayatanaag.jar
2016­01­08 07:32:46,255 INFO [main] datanode.DataNode
(StringUtils.java:startupShutdownMessage(633)) ­ STARTUP_MSG:
/************************************************************
.....
...
..
STARTUP_MSG: build = &lt;A href="https://git­wip­us.apache.org/repos/asf/hadoop.git" target="_blank"&gt;https://git­wip­us.apache.org/repos/asf/hadoop.git&lt;/A&gt; ­r
e3496499ecb8d220fba99dc5ed4c99c8f9e33bb1; compiled by 'jenkins' on 2014­11­13T21:10Z
STARTUP_MSG: java = 1.8.0_66
************************************************************/
2016­01­08 07:32:46,271 INFO [main] datanode.DataNode (SignalLogger.java:register(91)) ­
registered UNIX signal handlers for [TERM, HUP, INT]
Usage: java DataNode [­regular | ­rollback]
­regular : Normal DataNode startup (default).
­rollback : Rollback a standard or rolling upgrade.
Refer to HDFS documentation for the difference between standard
and rolling upgrades.
2016­01­08 07:32:46,770 WARN [main] datanode.DataNode (DataNode.java:secureMain(2392)) ­
Exiting Datanode
2016­01­08 07:32:46,773 INFO [main] util.ExitUtil (ExitUtil.java:terminate(124)) ­ Exiting
with status 1
2016­01­08 07:32:46,778 INFO [Thread­1] datanode.DataNode (StringUtils.java:run(659)) ­
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down DataNode at prince/127.0.1.1
************************************************************/&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Jan 2016 02:44:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Eclipse-plugin/m-p/103077#M15335</guid>
      <dc:creator>bhupendra</dc:creator>
      <dc:date>2016-01-19T02:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop Eclipse plugin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Eclipse-plugin/m-p/103078#M15336</link>
      <description>&lt;P&gt;From what I understand, the Eclipse plugin has not been maintained as new versions of Hadoop have been released.&lt;/P&gt;&lt;P&gt;It appears that the command to start the DataNode is missing a required argument:&lt;/P&gt;&lt;PRE&gt;Usage: java DataNode [­regular | ­rollback]­
regular : Normal DataNode startup (default).­
rollback : Rollback a standard or rolling upgrade.
Refer to HDFS documentation for the difference between standard
and rolling upgrades.&lt;/PRE&gt;&lt;P&gt;The Apache HDT (Hadoop Development Tools) project had plans to fix this, but unfortunately, it has been retired due to lack of contributions.&lt;/P&gt;&lt;P&gt;&lt;A href="http://hdt.incubator.apache.org/"&gt;http://hdt.incubator.apache.org/&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;One option to consider would be to ditch the Eclipse Plugin and leverage "mini clusters" to provide a similar development experience, but without the need to connect to an external cluster or leverage the Eclipse plugin.&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.apache.org/hadoop/HowToDevelopUnitTests"&gt;https://wiki.apache.org/hadoop/HowToDevelopUnitTests&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Another option would be to leverage the hadoop-mini-clusters project that I maintain. It simplifies the use of mini clusters by wrapping them in a common Builder pattern.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/sakserv/hadoop-mini-clusters"&gt;https://github.com/sakserv/hadoop-mini-clusters&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 02:18:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Eclipse-plugin/m-p/103078#M15336</guid>
      <dc:creator>skumpf</dc:creator>
      <dc:date>2016-01-20T02:18:04Z</dc:date>
    </item>
  </channel>
</rss>

