hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan van Bemmelen <...@tokyoeye.net>
Subject Re: How to resolve--- Unauthorized request to start container. This token is expired.
Date Thu, 26 Feb 2015 18:31:25 GMT
Hi Tariq,

You seem to be using debian or ubuntu. The documentation here will guide you through setting
up ntp: http://www.cyberciti.biz/faq/debian-ubuntu-linux-install-ntpd/ <http://www.cyberciti.biz/faq/debian-ubuntu-linux-install-ntpd/>
. When you have finished these steps you can check the system’s clocks using the ‘date’
command’. The differences between the servers should be minimal.

Regards,
Jan


> On 26 Feb 2015, at 19:19, tesmai4@gmail.com wrote:
> 
> Thanks Jan. I did the follwoing:
> 
> 1) Manually set the timezone of all the nodes using  "sudo  dpkg-reconfigure tzdata"
> 2) Re-booted the nodes
> 
> Still having the same exception.
> 
> How can I configure NTP?
> 
> Regards,
> Tariq
> 
> 
> On Thu, Feb 26, 2015 at 5:33 PM, Jan van Bemmelen <jan@tokyoeye.net <mailto:jan@tokyoeye.net>>
wrote:
> Could you check for any time differences between your servers? If so, please install
and run NTP, and retry your job.
> 
> Regards,
> Jan
> 
> 
>> On 26 Feb 2015, at 17:57, tesmai4@gmail.com <mailto:tesmai4@gmail.com> wrote:
>> 
>> I am getting  "Unauthorized request to start container.  This token is expired."
>> How to resovle it. The problem is reported on different forums, but I could not find
an solution to it.
>> 
>> 
>> Below is the execution log
>> 
>> 15/02/26 16:41:02 INFO impl.YarnClientImpl: Submitted application application_1424968835929_0001
>> 15/02/26 16:41:02 INFO mapreduce.Job: The url to track the job: http://101-master15:8088/proxy/application_1424968835929_0001/
<http://101-master15:8088/proxy/application_1424968835929_0001/>
>> 15/02/26 16:41:02 INFO mapreduce.Job: Running job: job_1424968835929_0001
>> 15/02/26 16:41:04 INFO mapreduce.Job: Job job_1424968835929_0001 running in uber
mode : false
>> 15/02/26 16:41:04 INFO mapreduce.Job:  map 0% reduce 0%
>> 15/02/26 16:41:04 INFO mapreduce.Job: Job job_1424968835929_0001 failed with state
FAILED due to: Application application_1424968835929_0001 failed 2 times due to Error launching
appattempt_1424968835929_0001_000002. Got exception: org.apache.hadoop.yarn.exceptions.YarnException:
Unauthorized request to start container. 
>> This token is expired. current time is 1424969604829 found 1424969463686
>> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>> 	at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:168)
>> 	at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106)
>> 	at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:122)
>> 	at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:249)
>> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> 	at java.lang.Thread.run(Thread.java:745)
>> . Failing the application.
>> 15/02/26 16:41:04 INFO mapreduce.Job: Counters: 0
>> Time taken: 0 days, 0 hours, 0 minutes, 9 seconds.
>> 
> 
> 


Mime
View raw message