You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by bhuvnesh chaudhary <bc...@pivotal.io> on 2016/02/13 09:16:31 UTC

Review Request 43557: App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.Entit yGroupFSTimelineStore

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43557/
-----------------------------------------------------------

Review request for Ambari, Alejandro Fernandez, jun aoki, Jayush Luniya, Oleksandr Diachenko, Richard Zang, Sumit Mohanty, and Yusaku Sako.


Bugs: AMBARI-15042
    https://issues.apache.org/jira/browse/AMBARI-15042


Repository: ambari


Description
-------

App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore

#Snippet from logs:
Server failed in state INITED; cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
...
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found

There is no class EntityGroupFSTimelineStore available, the value of parameter yarn.timeline-service.store-class should be set as below: org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml 8b6709d 

Diff: https://reviews.apache.org/r/43557/diff/


Testing
-------

yes. manual


Thanks,

bhuvnesh chaudhary


Re: Review Request 43557: App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.Entit yGroupFSTimelineStore

Posted by bhuvnesh chaudhary <bc...@pivotal.io>.

> On Feb. 13, 2016, 8:35 a.m., Matt wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml, line 73
> > <https://reviews.apache.org/r/43557/diff/1/?file=1241153#file1241153line73>
> >
> >     Why does this parameter have to be changed?
> >     
> >     It was changed in November 2015: https://issues.apache.org/jira/browse/AMBARI-13936 
> >     
> >     Just wondering why the failure because of this parameter showed up now and not in the last 4 months.
> 
> bhuvnesh chaudhary wrote:
>     @Dmytro may be able to guide us why this parameter was set to use EntityGroupFSTimelineStore earlier, but its not working now.
>     I believe this ATS has been failing since last couple of days and the status was red, but since service check does not captures it, probably didn't block anything and was overlooked.
> 
> Sumit Mohanty wrote:
>     I do not think we should make this change. Latest (HDP-2.3.4+) versions of HDP needs the value to be EntityGroupFSTimelineStore but older HDP-2.3 does not work with that. So depending on which version is being deployed you will see one or the other error.  Ambari does not have support for such changes when its in the 3rd digit releases. So we decided to favor newer releases.

@Thanks Sumit for the clarification.
Does it mean that https://reviews.apache.org/r/43556/ is also not required and is done considering HDP-2.3.4+ version ?


- bhuvnesh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43557/#review119144
-----------------------------------------------------------


On Feb. 13, 2016, 6:03 p.m., bhuvnesh chaudhary wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43557/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2016, 6:03 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmytro Sen, jun aoki, Jayush Luniya, Oleksandr Diachenko, Richard Zang, Sumit Mohanty, and Yusaku Sako.
> 
> 
> Bugs: AMBARI-15042
>     https://issues.apache.org/jira/browse/AMBARI-15042
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore
> 
> #Snippet from logs:
> Server failed in state INITED; cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> ...
> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> 
> There is no class EntityGroupFSTimelineStore available, the value of parameter yarn.timeline-service.store-class should be set as below: org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml 8b6709d 
> 
> Diff: https://reviews.apache.org/r/43557/diff/
> 
> 
> Testing
> -------
> 
> yes. manual
> 
> 
> Thanks,
> 
> bhuvnesh chaudhary
> 
>


Re: Review Request 43557: App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.Entit yGroupFSTimelineStore

Posted by Sumit Mohanty <sm...@hortonworks.com>.

> On Feb. 13, 2016, 8:35 a.m., Matt wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml, line 73
> > <https://reviews.apache.org/r/43557/diff/1/?file=1241153#file1241153line73>
> >
> >     Why does this parameter have to be changed?
> >     
> >     It was changed in November 2015: https://issues.apache.org/jira/browse/AMBARI-13936 
> >     
> >     Just wondering why the failure because of this parameter showed up now and not in the last 4 months.
> 
> bhuvnesh chaudhary wrote:
>     @Dmytro may be able to guide us why this parameter was set to use EntityGroupFSTimelineStore earlier, but its not working now.
>     I believe this ATS has been failing since last couple of days and the status was red, but since service check does not captures it, probably didn't block anything and was overlooked.
> 
> Sumit Mohanty wrote:
>     I do not think we should make this change. Latest (HDP-2.3.4+) versions of HDP needs the value to be EntityGroupFSTimelineStore but older HDP-2.3 does not work with that. So depending on which version is being deployed you will see one or the other error.  Ambari does not have support for such changes when its in the 3rd digit releases. So we decided to favor newer releases.
> 
> bhuvnesh chaudhary wrote:
>     @Thanks Sumit for the clarification.
>     Does it mean that https://reviews.apache.org/r/43556/ is also not required and is done considering HDP-2.3.4+ version ?

Its the same root cause. YARN had to move to latest version of ATS 1.5 as its feature rich and highly available.


- Sumit


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43557/#review119144
-----------------------------------------------------------


On Feb. 13, 2016, 6:03 p.m., bhuvnesh chaudhary wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43557/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2016, 6:03 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmytro Sen, jun aoki, Jayush Luniya, Oleksandr Diachenko, Richard Zang, Sumit Mohanty, and Yusaku Sako.
> 
> 
> Bugs: AMBARI-15042
>     https://issues.apache.org/jira/browse/AMBARI-15042
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore
> 
> #Snippet from logs:
> Server failed in state INITED; cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> ...
> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> 
> There is no class EntityGroupFSTimelineStore available, the value of parameter yarn.timeline-service.store-class should be set as below: org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml 8b6709d 
> 
> Diff: https://reviews.apache.org/r/43557/diff/
> 
> 
> Testing
> -------
> 
> yes. manual
> 
> 
> Thanks,
> 
> bhuvnesh chaudhary
> 
>


Re: Review Request 43557: App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.Entit yGroupFSTimelineStore

Posted by bhuvnesh chaudhary <bc...@pivotal.io>.

> On Feb. 13, 2016, 8:35 a.m., Matt wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml, line 73
> > <https://reviews.apache.org/r/43557/diff/1/?file=1241153#file1241153line73>
> >
> >     Why does this parameter have to be changed?
> >     
> >     It was changed in November 2015: https://issues.apache.org/jira/browse/AMBARI-13936 
> >     
> >     Just wondering why the failure because of this parameter showed up now and not in the last 4 months.

@Dmytro may be able to guide us why this parameter was set to use EntityGroupFSTimelineStore earlier, but its not working now.
I believe this ATS has been failing since last couple of days and the status was red, but since service check does not captures it, probably didn't block anything and was overlooked.


- bhuvnesh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43557/#review119144
-----------------------------------------------------------


On Feb. 13, 2016, 6:03 p.m., bhuvnesh chaudhary wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43557/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2016, 6:03 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmytro Sen, jun aoki, Jayush Luniya, Oleksandr Diachenko, Richard Zang, Sumit Mohanty, and Yusaku Sako.
> 
> 
> Bugs: AMBARI-15042
>     https://issues.apache.org/jira/browse/AMBARI-15042
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore
> 
> #Snippet from logs:
> Server failed in state INITED; cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> ...
> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> 
> There is no class EntityGroupFSTimelineStore available, the value of parameter yarn.timeline-service.store-class should be set as below: org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml 8b6709d 
> 
> Diff: https://reviews.apache.org/r/43557/diff/
> 
> 
> Testing
> -------
> 
> yes. manual
> 
> 
> Thanks,
> 
> bhuvnesh chaudhary
> 
>


Re: Review Request 43557: App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.Entit yGroupFSTimelineStore

Posted by bhuvnesh chaudhary <bc...@pivotal.io>.

> On Feb. 13, 2016, 8:35 a.m., Matt wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml, line 73
> > <https://reviews.apache.org/r/43557/diff/1/?file=1241153#file1241153line73>
> >
> >     Why does this parameter have to be changed?
> >     
> >     It was changed in November 2015: https://issues.apache.org/jira/browse/AMBARI-13936 
> >     
> >     Just wondering why the failure because of this parameter showed up now and not in the last 4 months.
> 
> bhuvnesh chaudhary wrote:
>     @Dmytro may be able to guide us why this parameter was set to use EntityGroupFSTimelineStore earlier, but its not working now.
>     I believe this ATS has been failing since last couple of days and the status was red, but since service check does not captures it, probably didn't block anything and was overlooked.
> 
> Sumit Mohanty wrote:
>     I do not think we should make this change. Latest (HDP-2.3.4+) versions of HDP needs the value to be EntityGroupFSTimelineStore but older HDP-2.3 does not work with that. So depending on which version is being deployed you will see one or the other error.  Ambari does not have support for such changes when its in the 3rd digit releases. So we decided to favor newer releases.
> 
> bhuvnesh chaudhary wrote:
>     @Thanks Sumit for the clarification.
>     Does it mean that https://reviews.apache.org/r/43556/ is also not required and is done considering HDP-2.3.4+ version ?
> 
> Sumit Mohanty wrote:
>     Its the same root cause. YARN had to move to latest version of ATS 1.5 as its feature rich and highly available.

Thanks Sumit for the background, will discard both the jiras.


- bhuvnesh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43557/#review119144
-----------------------------------------------------------


On Feb. 13, 2016, 6:03 p.m., bhuvnesh chaudhary wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43557/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2016, 6:03 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmytro Sen, jun aoki, Jayush Luniya, Oleksandr Diachenko, Richard Zang, Sumit Mohanty, and Yusaku Sako.
> 
> 
> Bugs: AMBARI-15042
>     https://issues.apache.org/jira/browse/AMBARI-15042
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore
> 
> #Snippet from logs:
> Server failed in state INITED; cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> ...
> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> 
> There is no class EntityGroupFSTimelineStore available, the value of parameter yarn.timeline-service.store-class should be set as below: org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml 8b6709d 
> 
> Diff: https://reviews.apache.org/r/43557/diff/
> 
> 
> Testing
> -------
> 
> yes. manual
> 
> 
> Thanks,
> 
> bhuvnesh chaudhary
> 
>


Re: Review Request 43557: App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.Entit yGroupFSTimelineStore

Posted by Sumit Mohanty <sm...@hortonworks.com>.

> On Feb. 13, 2016, 8:35 a.m., Matt wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml, line 73
> > <https://reviews.apache.org/r/43557/diff/1/?file=1241153#file1241153line73>
> >
> >     Why does this parameter have to be changed?
> >     
> >     It was changed in November 2015: https://issues.apache.org/jira/browse/AMBARI-13936 
> >     
> >     Just wondering why the failure because of this parameter showed up now and not in the last 4 months.
> 
> bhuvnesh chaudhary wrote:
>     @Dmytro may be able to guide us why this parameter was set to use EntityGroupFSTimelineStore earlier, but its not working now.
>     I believe this ATS has been failing since last couple of days and the status was red, but since service check does not captures it, probably didn't block anything and was overlooked.

I do not think we should make this change. Latest (HDP-2.3.4+) versions of HDP needs the value to be EntityGroupFSTimelineStore but older HDP-2.3 does not work with that. So depending on which version is being deployed you will see one or the other error.  Ambari does not have support for such changes when its in the 3rd digit releases. So we decided to favor newer releases.


- Sumit


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43557/#review119144
-----------------------------------------------------------


On Feb. 13, 2016, 6:03 p.m., bhuvnesh chaudhary wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43557/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2016, 6:03 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmytro Sen, jun aoki, Jayush Luniya, Oleksandr Diachenko, Richard Zang, Sumit Mohanty, and Yusaku Sako.
> 
> 
> Bugs: AMBARI-15042
>     https://issues.apache.org/jira/browse/AMBARI-15042
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore
> 
> #Snippet from logs:
> Server failed in state INITED; cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> ...
> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> 
> There is no class EntityGroupFSTimelineStore available, the value of parameter yarn.timeline-service.store-class should be set as below: org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml 8b6709d 
> 
> Diff: https://reviews.apache.org/r/43557/diff/
> 
> 
> Testing
> -------
> 
> yes. manual
> 
> 
> Thanks,
> 
> bhuvnesh chaudhary
> 
>


Re: Review Request 43557: App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.Entit yGroupFSTimelineStore

Posted by Matt <mi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43557/#review119144
-----------------------------------------------------------




ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml (line 73)
<https://reviews.apache.org/r/43557/#comment180420>

    Why does this parameter have to be changed?
    
    It was changed in November 2015: https://issues.apache.org/jira/browse/AMBARI-13936 
    
    Just wondering why the failure because of this parameter showed up now and not in the last 4 months.


- Matt


On Feb. 13, 2016, 12:16 a.m., bhuvnesh chaudhary wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43557/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2016, 12:16 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, jun aoki, Jayush Luniya, Oleksandr Diachenko, Richard Zang, Sumit Mohanty, and Yusaku Sako.
> 
> 
> Bugs: AMBARI-15042
>     https://issues.apache.org/jira/browse/AMBARI-15042
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> App Timeline server failed to start due to java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore
> 
> #Snippet from logs:
> Server failed in state INITED; cause: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> ...
> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore not found
> 
> There is no class EntityGroupFSTimelineStore available, the value of parameter yarn.timeline-service.store-class should be set as below: org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml 8b6709d 
> 
> Diff: https://reviews.apache.org/r/43557/diff/
> 
> 
> Testing
> -------
> 
> yes. manual
> 
> 
> Thanks,
> 
> bhuvnesh chaudhary
> 
>