Please take a look at:
http://www.tldp.org/LDP/sag/html/basic-ntp-config.html

On Thu, Feb 26, 2015 at 10:19 AM, tesm...@gmail.com <tesm...@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 <j...@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, tesm...@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/
>> 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.
>>
>>
>>
>

Reply via email to