Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> hadoop cluster not working


+
mallik arjun 2013-03-10, 02:05
+
Hemanth Yamijala 2013-03-12, 11:14
+
Vikas Jadhav 2013-03-12, 11:23
Copy link to this message
-
Re: hadoop cluster not working
mapred-site.xml

<configuration>
<property>

    <name>mapred.job.tracker</name>

    <value>localhost:54311</value>

  </property>
</configuration>

core-site.xml
<configuration>

<property>

    <name>hadoop.tmp.dir</name>

    <value>/home/mallik/hadoop-${user.name}</value>

    <description>A base for other temporary directories.</description>

  </property>

<property>

 <name>fs.default.name</name>

<value>hdfs://localhost:54310</value>

</property>
</configuration>
hdfs-site.xml
<configuration>
<property>

  <name>dfs.replication</name>

  <value>1</value>

  </property>

</configuration>
On Tue, Mar 12, 2013 at 4:53 PM, Vikas Jadhav <[EMAIL PROTECTED]>wrote:

> share your files in hadoop home folder
>
> hadoop-1.0.3/conf/mapred-site.xml
> hadoop-1.0.3/conf/core-site.xml
> hadoop-1.0.3/conf/hdfs-site.xml
>
>
> and also run "jps" command to which processes are running
>
>
>
> On Tue, Mar 12, 2013 at 4:44 PM, Hemanth Yamijala <
> [EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> This line in your exception message:
>> "Exception in thread "main" java.io.IOException: Call to localhost/
>> 127.0.0.1:54311 failed on local exception: java.io.IOException:
>> Connection reset by peer"
>>
>> indicates that the client is trying to submit a job on the IPC port of
>> the jobtracker at 127.0.0.1:54311. Can you tell what is configured for
>> mapred.job.tracker (most likely in your mapred-site.xml)
>>
>>
>> On Tue, Mar 12, 2013 at 7:37 AM, mallik arjun <[EMAIL PROTECTED]>wrote:
>>
>>> i have not configured, can u tell me how to configure
>>>
>>>
>>> On Sun, Mar 10, 2013 at 7:31 PM, Hemanth Yamijala <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>> Have you configured your JobTracker's IPC port as 54311. Sharing your
>>>> configuration may be helpful.
>>>>
>>>> Thanks
>>>> Hemanth
>>>>
>>>>
>>>> On Sun, Mar 10, 2013 at 11:56 AM, mallik arjun <[EMAIL PROTECTED]>wrote:
>>>>
>>>>> i have seen the logs and the reason for the error is
>>>>> 13/03/10 10:26:45 ERROR security.UserGroupInformation:
>>>>> PriviledgedActionException as:mallik cause:java.io.IOException: Call to
>>>>> localhost/127.0.0.1:54311 failed on local exception:
>>>>> java.io.IOException: Connection reset by peer
>>>>> Exception in thread "main" java.io.IOException: Call to localhost/
>>>>> 127.0.0.1:54311 failed on local exception: java.io.IOException:
>>>>> Connection reset by peer
>>>>>  at org.apache.hadoop.ipc.Client.wrapException(Client.java:1107)
>>>>>  at org.apache.hadoop.ipc.Client.call(Client.java:1075)
>>>>> at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
>>>>>  at org.apache.hadoop.mapred.$Proxy2.getProtocolVersion(Unknown
>>>>> Source)
>>>>> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
>>>>>  at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
>>>>> at
>>>>> org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:480)
>>>>>  at org.apache.hadoop.mapred.JobClient.init(JobClient.java:474)
>>>>> at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:457)
>>>>>  at org.apache.hadoop.mapreduce.Job$1.run(Job.java:513)
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>  at javax.security.auth.Subject.doAs(Subject.java:415)
>>>>> at
>>>>> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121)
>>>>>  at org.apache.hadoop.mapreduce.Job.connect(Job.java:511)
>>>>> at org.apache.hadoop.mapreduce.Job.submit(Job.java:499)
>>>>>  at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:530)
>>>>> at MaxTemperature.main(MaxTemperature.java:31)
>>>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>>  at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:601)
>>>>>  at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
>>>>> Caused by: java.io.IOException: Connection reset by peer
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB