ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-11198) App Timeline Server start fails because of yarn.timeline-service.leveldb-state-store.path
Date Sun, 17 May 2015 17:38:00 GMT
Jayush Luniya created AMBARI-11198:
--------------------------------------

             Summary: App Timeline Server start fails because of yarn.timeline-service.leveldb-state-store.path

                 Key: AMBARI-11198
                 URL: https://issues.apache.org/jira/browse/AMBARI-11198
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web, stacks
    Affects Versions: 2.1.0
            Reporter: Jayush Luniya
            Assignee: Jayush Luniya
             Fix For: 2.1.0


App Timeline Server fails to start when the mount point is not "/". The issue is caused by
following change:
AMBARI-11171 - Ambari should add the configurations to enable timeline service state preserving
restart
  <property>
    <name>yarn.timeline-service.leveldb-state-store.path</name>
    <value>/hadoop/yarn/timeline</value>
    <description>Store file name for leveldb state store.</description>
  </property>

App Timeline Server Logs:
{noformat}
2015-05-17 14:38:03,047 INFO  timeline.LeveldbTimelineStore (LeveldbTimelineStore.java:discardOldEntities(1532))
- Discarded 0 entities for timestamp 1429195082832 and earlier in 0.002 seconds
2015-05-17 14:38:03,049 INFO  service.AbstractService (AbstractService.java:noteFailure(272))
- Service org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore failed
in state STARTED; cause: java.io.IOException: Couldn't create directory for leveldb timeline
store /hadoop/yarn/timeline/timeline-state-store.ldb
java.io.IOException: Couldn't create directory for leveldb timeline store /hadoop/yarn/timeline/timeline-state-store.ldb
        at org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore.startStorage(LeveldbTimelineStateStore.java:100)
        at org.apache.hadoop.yarn.server.timeline.recovery.TimelineStateStore.serviceStart(TimelineStateStore.java:88)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.yarn.server.timeline.security.TimelineDelegationTokenSecretManagerService.serviceStart(TimelineDelegationTokenSecretManagerService.java:79)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
        at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceStart(ApplicationHistoryServer.java:110)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.launchAppHistoryServer(ApplicationHistoryServer.java:159)
        at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.main(ApplicationHistoryServer.java:168)
2015-05-17 14:38:03,051 INFO  service.AbstractService (AbstractService.java:noteFailure(272))
- Service org.apache.hadoop.yarn.server.timeline.security.TimelineDelegationTokenSecretManagerService
failed in state STARTED; cause: org.apache.hadoop.service.ServiceStateException: java.io.IOException:
Couldn't create directory for leveldb timeline store /hadoop/yarn/timeline/timeline-state-store.ldb
org.apache.hadoop.service.ServiceStateException: java.io.IOException: Couldn't create directory
for leveldb timeline store /hadoop/yarn/timeline/timeline-state-store.ldb
        at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:59)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:204)
        at org.apache.hadoop.yarn.server.timeline.security.TimelineDelegationTokenSecretManagerService.serviceStart(TimelineDelegationTokenSecretManagerService.java:79)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
        at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceStart(ApplicationHistoryServer.java:110)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.launchAppHistoryServer(ApplicationHistoryServer.java:159)
        at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.main(ApplicationHistoryServer.java:168)
Caused by: java.io.IOException: Couldn't create directory for leveldb timeline store /hadoop/yarn/timeline/timeline-state-store.ldb
        at org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore.startStorage(LeveldbTimelineStateStore.java:100)
        at org.apache.hadoop.yarn.server.timeline.recovery.TimelineStateStore.serviceStart(TimelineStateStore.java:88)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        ... 7 more
2015-05-17 14:38:03,052 INFO  service.AbstractService (AbstractService.java:noteFailure(272))
- Service org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
failed in state STARTED; cause: org.apache.hadoop.service.ServiceStateException: java.io.IOException:
Couldn't create directory for leveldb timeline store /hadoop/yarn/timeline/timeline-state-store.ldb
org.apache.hadoop.service.ServiceStateException: java.io.IOException: Couldn't create directory
for leveldb timeline store /hadoop/yarn/timeline/timeline-state-store.ldb
        at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:59)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:204)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message