[ 
https://issues.apache.org/jira/browse/YARN-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695687#comment-14695687
 ] 

Gagan commented on YARN-4037:
-----------------------------

Hi Mohammed,

I am not sure what difference came in hadoop configs but I configured 
everything from scratch using the following link
https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html#YARN_on_Single_Node

The error
"Failed while trying to construct the redirect url to the log server. Log 
Server url may not be configured
java.lang.Exception: Unknown container"

disappeared and I could see standard err, out files, which contain the 
following 

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I tried setting various values of 
set HADOOP_HEAPSIZE=512
but in vain, a value over 512 did not start the daemons. I have 8 gb ram.

Could you help me on the same ?


> Hadoop - failed redirect for container
> --------------------------------------
>
>                 Key: YARN-4037
>                 URL: https://issues.apache.org/jira/browse/YARN-4037
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 2.7.1
>         Environment: Windows 7, Apache Hadoop 2.7.1
>            Reporter: Gagan
>         Attachments: mapred-site.xml, yarn-site.xml
>
>
> I believe this issue has been addressed earlier in 
> https://issues.apache.org/jira/browse/YARN-1473 though I am not sure because 
> the description of the JIRA does not talk about the following message 
> Failed while trying to construct the redirect url to the log server. Log 
> Server url may not be configured
> java.lang.Exception: Unknown container. Container either has not started or 
> has already completed or doesn't belong to this node at all.
> Could some one look at the same and provide detail on the root cause and 
> resolution ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to