ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 40477: YARN and Mapreduce2 can not to start after reinstall cluster with custom log/pid dirs
Date Thu, 19 Nov 2015 10:46:59 GMT

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Steps:

  1. Deployed cluster with custom log/pid dirs via blueprints.
  2. Removed cluster (Stopped services, HostCleanup.py executing, ambari-server reset, removing
ambari from DB).
  3. Before deploy were created log and PID dirs with root owners, root group and 000 permissions.
  4. Deployed cluster via UI.

Result: YARN and MapReduce2 are stopped.

Statuses of services before removing cluster:

    
    
    
    ACCUMULO_MASTER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    ACCUMULO_TSERVER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    APP_TIMELINE_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    ATLAS_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    DATANODE ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    FLUME_HANDLER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    HBASE_REGIONSERVER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    HIVE_METASTORE ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    HIVE_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    KAFKA_BROKER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    KNOX_GATEWAY ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    METRICS_MONITOR ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    NFS_GATEWAY ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    NIMBUS ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    NODEMANAGER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    OOZIE_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    SECONDARY_NAMENODE ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    SUPERVISOR ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    WEBHCAT_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    ZOOKEEPER_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    ACCUMULO_MONITOR ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    ACCUMULO_TSERVER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    DATANODE ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    DRPC_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    FLUME_HANDLER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    HBASE_MASTER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    HBASE_REGIONSERVER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    HISTORYSERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    KAFKA_BROKER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    METRICS_COLLECTOR ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    METRICS_MONITOR ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    NFS_GATEWAY ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    NODEMANAGER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    STORM_UI_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    SUPERVISOR ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    ZOOKEEPER_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    ACCUMULO_GC ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    ACCUMULO_TRACER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    ACCUMULO_TSERVER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    DATANODE ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    FALCON_SERVER ,  ]  is [[STARTED, ACTIVE, false]]
    FLUME_HANDLER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    HBASE_REGIONSERVER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    KAFKA_BROKER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    METRICS_MONITOR ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    NAMENODE ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    NFS_GATEWAY ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    NODEMANAGER ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    RESOURCEMANAGER ,  ]  is [[INSTALLED, ACTIVE, false]] in API
    SUPERVISOR ,  ]  is [[INSTALLED, ACTIVE, RECOMMISSIONED, false]] in API
    ZOOKEEPER_SERVER ,  ]  is [[INSTALLED, ACTIVE, false]]
    

FALCON_SERVER was stopped separately.

cluster: <http://172.22.110.91:8080/>, lifetime: +120h.


Diffs
-----

  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/service.py
6785644 
  ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py f345cf6 
  ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py 94a2bfb 
  ambari-server/src/test/python/stacks/2.0.6/YARN/test_resourcemanager.py 4a4ca93 
  ambari-server/src/test/python/stacks/2.1/YARN/test_apptimelineserver.py e949bb0 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message