Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> Namenode and Jobtracker dont start


+
Björn-Elmar Macek 2012-07-18, 14:29
Copy link to this message
-
Re: Namenode and Jobtracker dont start
Can you share information on the java version that you are using.
- Is it as obvious as some previous processes still running and new
processes cannot bind to the port?
- Another pointer -
http://stackoverflow.com/questions/8360913/weird-java-net-socketexception-permission-denied-connect-error-when-running-groo

On Wed, Jul 18, 2012 at 7:29 AM, Björn-Elmar Macek
<[EMAIL PROTECTED]>wrote:

> Hi,
>
> i have lately been running into problems since i started running hadoop on
> a cluster:
>
> The setup is the following:
> 1 Computer is NameNode and Jobtracker
> 1 Computer is SecondaryNameNode
> 2 Computers are TaskTracker and DataNode
>
> I ran into problems with running the wordcount example: NameNode and
> Jobtracker do not start properly both having connection problems of some
> kind.
> And this is although ssh is configured that way, that no prompt happens
> when i connect from any node in the cluster to any other.
>
> Is there any reason why this happens?
>
> The logs look like the following:
> \________ JOBTRACKER____________________**______________________________
> 2012-07-18 16:08:05,808 INFO org.apache.hadoop.mapred.**JobTracker:
> STARTUP_MSG:
> /****************************************************************
> STARTUP_MSG: Starting JobTracker
> STARTUP_MSG:   host = its-cs100.its.uni-kassel.de/**141.51.205.10<http://its-cs100.its.uni-kassel.de/141.51.205.10>
> STARTUP_MSG:   args = []
> STARTUP_MSG:   version = 1.0.2
> STARTUP_MSG:   build = https://svn.apache.org/repos/**
> asf/hadoop/common/branches/**branch-1.0.2<https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0.2>-r 1304954; compiled by 'hortonfo' on Sat Mar 24 23:58:21 UTC 2012
> ****************************************************************/
> 2012-07-18 16:08:06,479 INFO org.apache.hadoop.metrics2.**impl.MetricsConfig:
> loaded properties from hadoop-metrics2.properties
> 2012-07-18 16:08:06,534 INFO org.apache.hadoop.metrics2.**impl.MetricsSourceAdapter:
> MBean for source MetricsSystem,sub=Stats registered.
> 2012-07-18 16:08:06,554 INFO org.apache.hadoop.metrics2.**impl.MetricsSystemImpl:
> Scheduled snapshot period at 10 second(s).
> 2012-07-18 16:08:06,554 INFO org.apache.hadoop.metrics2.**impl.MetricsSystemImpl:
> JobTracker metrics system started
> 2012-07-18 16:08:07,157 INFO org.apache.hadoop.metrics2.**impl.MetricsSourceAdapter:
> MBean for source QueueMetrics,q=default registered.
> 2012-07-18 16:08:10,395 INFO org.apache.hadoop.metrics2.**impl.MetricsSourceAdapter:
> MBean for source ugi registered.
> 2012-07-18 16:08:10,417 INFO org.apache.hadoop.security.**
> token.delegation.**AbstractDelegationTokenSecretM**anager: Updating the
> current master key for generating delegation tokens
> 2012-07-18 16:08:10,436 INFO org.apache.hadoop.mapred.**JobTracker:
> Scheduler configured with (memSizeForMapSlotOnJT, memSizeForReduceSlotOnJT,
> limitMaxMemForMapTasks, limitMaxMemForReduceTasks) (-1, -1, -1, -1)
> 2012-07-18 16:08:10,438 INFO org.apache.hadoop.util.**HostsFileReader:
> Refreshing hosts (include/exclude) list
> 2012-07-18 16:08:10,440 INFO org.apache.hadoop.security.**
> token.delegation.**AbstractDelegationTokenSecretM**anager: Starting
> expired delegation token remover thread, tokenRemoverScanInterval=60 min(s)
> 2012-07-18 16:08:10,465 INFO org.apache.hadoop.security.**
> token.delegation.**AbstractDelegationTokenSecretM**anager: Updating the
> current master key for generating delegation tokens
> 2012-07-18 16:08:10,510 INFO org.apache.hadoop.mapred.**JobTracker:
> Starting jobtracker with owner as bmacek
> 2012-07-18 16:08:10,620 WARN org.apache.hadoop.mapred.**JobTracker: Error
> starting tracker: java.net.SocketException: Permission denied
>     at sun.nio.ch.Net.bind(Native Method)
>     at sun.nio.ch.**ServerSocketChannelImpl.bind(**
> ServerSocketChannelImpl.java:**119)
>     at sun.nio.ch.**ServerSocketAdaptor.bind(**
> ServerSocketAdaptor.java:59)
>     at org.apache.hadoop.ipc.Server.**bind(Server.java:225)
>     at org.apache.hadoop.ipc.Server$**Listener.<init>(Server.java:**301)

http://hortonworks.com/download/
+
Björn-Elmar Macek 2012-07-20, 14:15
+
Björn-Elmar Macek 2012-07-20, 14:54
+
Mohammad Tariq 2012-07-20, 14:58
+
Björn-Elmar Macek 2012-07-20, 15:38
+
Harsh J 2012-07-20, 16:01
+
Mohammad Tariq 2012-07-20, 15:44