hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NJain <nitesh.jai...@gmail.com>
Subject Re: no jobtracker to stop,no namenode to stop
Date Fri, 30 Aug 2013 01:50:52 GMT
Hi Nikhil,

Appreciate your quick response on this, but the issue still continues. I
believe I have covered all the pointers you have mentioned. Still I am
pasting the portions of the documents so that you can verify.

1. /etc/hosts file,  localhost should not be commented, and add ip address.
The entry looks like the below:
# localhost name resolution is handled within DNS itself.
        127.0.0.1       localhost

2. core-site.xml, hdfs//localhost:port number
<configuration>
     <property>
         <name>fs.default.name</name>
         <value>hdfs://localhost:9000</value>
     </property>
</configuration>
3. mapred-site.xml hdfs//localhost:port number mapred.local.dir
<configuration>
     <property>
         <name>mapred.job.tracker</name>
         <value>localhost:9001</value>
     </property>
</configuration>

4. hdfs-site.xml 1.replication factor should be one
                      include dfs.name.dir property
                                dfs.data.dir property
                                for both the property check on net
<configuration>
     <property>
         <name>dfs.replication</name>
         <value>1</value>
     </property>
     <property>
         <name>dfs.name.dir</name>
         <value>c:/Hadoop/name</value>
     </property>
     <property>
         <name>dfs.data.dir</name>
         <value>c:/Hadoop/data</value>
     </property>
</configuration>


I am getting stuck at:
13/08/30 11:39:26 WARN mapred.JobClient: No job jar file set.  User classes
may not be found. See JobConf(Class) or JobConf#setJar(String).
13/08/30 11:39:26 INFO input.FileInputFormat: Total input paths to process
: 1
13/08/30 11:39:26 WARN util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
13/08/30 11:39:26 WARN snappy.LoadSnappy: Snappy native library not loaded
13/08/30 11:39:27 INFO mapred.JobClient: Running job: job_201308301135_0002
13/08/30 11:39:28 INFO mapred.JobClient:  map 0% reduce 0%

My Jobtracker UI looks like this:

Cluster Summary (Heap Size is 120.06 MB/888.94 MB)Running Map TasksRunning
Reduce TasksTotal SubmissionsNodesOccupied Map SlotsOccupied Reduce
SlotsReserved
Map SlotsReserved Reduce SlotsMap Task CapacityReduce Task CapacityAvg.
Tasks/NodeBlacklisted NodesGraylisted NodesExcluded
Nodes0010<http://localhost:50030/machines.jsp?type=active>
000000-0 <http://localhost:50030/machines.jsp?type=blacklisted>0<http://localhost:50030/machines.jsp?type=graylisted>
0 <http://localhost:50030/machines.jsp?type=excluded>



I have a feeling that the jobtracker is not able to find the task tracker
as there is a 0 in nodes column.

Does this ring any bells to you?

Thanks,
Nitesh Jain



On Thu, Aug 29, 2013 at 5:51 PM, Nikhil2405 [via Hadoop Common] <
ml-node+s472056n4024848h24@n3.nabble.com> wrote:

> Hi Nitesh,
>
> I think your problem may be in your configuration, so check your files as
> follow
>
> 1. /etc/hosts file,  localhost should not be commented, and add ip
> address.
> 2. core-site.xml, hdfs//localhost:port number
> 3. mapred-site.xml hdfs//localhost:port number mapred.local.dir
> 4. hdfs-site.xml 1.replication factor should be one
>                       include dfs.name.dir property
>                                 dfs.data.dir property
>                                 for both the property check on net
>
> Thanks
>
> Nikhil
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://hadoop-common.472056.n3.nabble.com/no-jobtracker-to-stop-no-namenode-to-stop-tp34874p4024848.html
>  To unsubscribe from no jobtracker to stop,no namenode to stop, click here<http://hadoop-common.472056.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=34874&code=bml0ZXNoLmphaW44NUBnbWFpbC5jb218MzQ4NzR8MzUzNjEyNzQx>
> .
> NAML<http://hadoop-common.472056.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://hadoop-common.472056.n3.nabble.com/no-jobtracker-to-stop-no-namenode-to-stop-tp34874p4024979.html
Sent from the Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message