You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samza.apache.org by Shekar Tippur <ct...@gmail.com> on 2016/06/14 06:25:12 UTC

Samza - Invalid ContainerId: container_e09_1465882867895_0003_01_000001

Hello,

Running Samza 8.0 with latest hadoop, I get the below exception. What do I
need to change to get this to work?

[root@bus01 yarn]# /usr/hdp/2.3.4.7-4/hadoop-yarn/bin/yarn version

Hadoop 2.7.1.2.3.4.7-4


Exception in thread "main" java.lang.IllegalArgumentException: Invalid
ContainerId: container_e09_1465882867895_0003_01_000001

        at
org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182)

        at
org.apache.samza.job.yarn.SamzaAppMaster$.main(SamzaAppMaster.scala:63)

        at
org.apache.samza.job.yarn.SamzaAppMaster.main(SamzaAppMaster.scala)

Caused by: java.lang.NumberFormatException: For input string: "e09"

        at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

        at java.lang.Long.parseLong(Long.java:441)

        at java.lang.Long.parseLong(Long.java:483)

        at
org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137)

        at
org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177)

        ... 2 more


- Shekar

Re: Samza - Invalid ContainerId: container_e09_1465882867895_0003_01_000001

Posted by Shekar Tippur <ct...@gmail.com>.
>
> Hello,
>
> Running Samza 8.0 with latest hadoop, I get the below exception. What do I
> need to change to get this to work?
>
> [root@bus01 yarn]# /usr/hdp/2.3.4.7-4/hadoop-yarn/bin/yarn version
>
> Hadoop 2.7.1.2.3.4.7-4
>
>
> Exception in thread "main" java.lang.IllegalArgumentException: Invalid
> ContainerId: container_e09_1465882867895_0003_01_000001
>
>         at
> org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182)
>
>         at
> org.apache.samza.job.yarn.SamzaAppMaster$.main(SamzaAppMaster.scala:63)
>
>         at
> org.apache.samza.job.yarn.SamzaAppMaster.main(SamzaAppMaster.scala)
>
> Caused by: java.lang.NumberFormatException: For input string: "e09"
>
>         at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>
>         at java.lang.Long.parseLong(Long.java:441)
>
>         at java.lang.Long.parseLong(Long.java:483)
>
>         at
> org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137)
>
>         at
> org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177)
>
>         ... 2 more
>
>
> - Shekar
>

Re: Samza - Invalid ContainerId: container_e09_1465882867895_0003_01_000001

Posted by Shekar Tippur <ct...@gmail.com>.
Looks like there is a Jira ticket with no conclusion

https://issues.apache.org/jira/browse/SAMZA-750

Is there a workaround without upgrading the code?

On Mon, Jun 13, 2016 at 11:25 PM, Shekar Tippur <ct...@gmail.com> wrote:

>
>
> Hello,
>
> Running Samza 8.0 with latest hadoop, I get the below exception. What do I
> need to change to get this to work?
>
> [root@bus01 yarn]# /usr/hdp/2.3.4.7-4/hadoop-yarn/bin/yarn version
>
> Hadoop 2.7.1.2.3.4.7-4
>
>
> Exception in thread "main" java.lang.IllegalArgumentException: Invalid
> ContainerId: container_e09_1465882867895_0003_01_000001
>
>         at
> org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182)
>
>         at
> org.apache.samza.job.yarn.SamzaAppMaster$.main(SamzaAppMaster.scala:63)
>
>         at
> org.apache.samza.job.yarn.SamzaAppMaster.main(SamzaAppMaster.scala)
>
> Caused by: java.lang.NumberFormatException: For input string: "e09"
>
>         at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>
>         at java.lang.Long.parseLong(Long.java:441)
>
>         at java.lang.Long.parseLong(Long.java:483)
>
>         at
> org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137)
>
>         at
> org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177)
>
>         ... 2 more
>
>
> - Shekar
>