Hi Robert,

This is yarn issue, you need to sync the time of nodes.



Best Regards,
Jeff Zhang



On Fri, Aug 29, 2014 at 10:21 AM, Grandl Robert <[email protected]> wrote:

> Haha. Nevermind, but it is weird.
>
> I synced all the nodes time with ntp and now works.
>
> It's weird why for MapReduce worked though ...
>
> Robert
>
>
>   On Thursday, August 28, 2014 7:08 PM, Grandl Robert <[email protected]>
> wrote:
>
>
> To give a bit more context of where in Tez this happens:
> 2014-08-28 18:44:34,285 ERROR [ContainerLauncher #1]
> org.apache.tez.dag.app.launcher.ContainerLauncherImpl: Container launch
> failed for container_1409185924470_0059_02_000002 :
> org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to
> start container.
> This token is expired. current time is 1409277443107 found 1409277287216
>         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:525)
>         at
> org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:152)
>         at
> org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106)
>         at
> org.apache.tez.dag.app.launcher.ContainerLauncherImpl$Container.launch(ContainerLauncherImpl.java:167)
>         at
> org.apache.tez.dag.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:379)
>         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:722)
>
>
>
>   On Thursday, August 28, 2014 7:01 PM, Grandl Robert <[email protected]>
> wrote:
>
>
> Hi guys,
>
> I was trying to run some tpch queries on top of Tez.
>
> One query at a time works fine. However, when run multiple queries
> simultaneous they fails with the following exception:
> , info=[Container launch failed for container_1409185924470_0059_02_000004
> : org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to
> start container.
> This token is expired. current time is 1409277443109 found 1409277287217
>         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:525)
>         at
> org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:152)
>         at
> org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106)
>         at
> org.apache.tez.dag.app.launcher.ContainerLauncherImpl$Container.launch(ContainerLauncherImpl.java:167)
>         at
> org.apache.tez.dag.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:379)
>         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:722)
> ], TaskAttempt 1 failed, info=[Container launch failed for
> container_1409185924470_0059_02_000031 :
> org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to
> start container.
> This token is expired. current time is 1409277444960 found 1409277289262
>         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:525)
>         at
> org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:152)
>         at
> org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106)
>         at
> org.apache.tez.dag.app.launcher.ContainerLauncherImpl$Container.launch(ContainerLauncherImpl.java:167)
>         at
> org.apache.tez.dag.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:379)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> I also tried to run simultaneous jobs with MapReduce and they succeeds. So
> I guess it is something related to Tez. Do you have any clues about what
> happens ?
>
> Thanks,
> Robert
>
>
>
>
>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to