[
https://issues.apache.org/jira/browse/AMBARI-24215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang updated AMBARI-24215:
-------------------------------------
Fix Version/s: 3.1.0
(was: 3.0.0)
> mpack-instance-manager output should be readable
> -------------------------------------------------
>
> Key: AMBARI-24215
> URL: https://issues.apache.org/jira/browse/AMBARI-24215
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 3.0.0
> Reporter: Scott Duan
> Assignee: Scott Duan
> Priority: Major
> Fix For: 3.1.0
>
>
> The command line will still print an indented json output. That is not what
> is desirable. The command line should return a human readable output and NOT
> a JSON structure.
> For example see the output of tree command:
> {code:java}
> tree /usr/hwx/mpacks
> /usr/hwx/mpacks
> ├── hdpcore
> │ └── 1.0.0-b415
> │ ├── app_timeline_server -> /usr/hwx/modules/yarn/3.0.0.0-b167
> │ ├── datanode -> /usr/hwx/modules/hdfs/3.0.0.0-b167
> │ ├── hadoop_client -> /usr/hwx/modules/hadoop_clients/3.0.0.0-b167
> │ ├── historyserver -> /usr/hwx/modules/mapreduce2/3.0.0.0-b167
> │ ├── journalnode -> /usr/hwx/modules/hdfs/3.0.0.0-b167
> │ ├── mpack.json
> │ ├── namenode -> /usr/hwx/modules/hdfs/3.0.0.0-b167
> │ ├── nfs_gateway -> /usr/hwx/modules/hdfs/3.0.0.0-b167
> │ ├── nodemanager -> /usr/hwx/modules/yarn/3.0.0.0-b167
> │ ├── resourcemanager -> /usr/hwx/modules/yarn/3.0.0.0-b167
> │ ├── secondary_namenode -> /usr/hwx/modules/hdfs/3.0.0.0-b167
> │ ├── timeline_reader -> /usr/hwx/modules/yarn/3.0.0.0-b167
> │ ├── yarn_registry_dns -> /usr/hwx/modules/yarn/3.0.0.0-b167
> │ ├── zkfc -> /usr/hwx/modules/hdfs/3.0.0.0-b167
> │ ├── zookeeper_client -> /usr/hwx/modules/zookeeper_clients/3.4.0.0-b38
> │ └── zookeeper_server -> /usr/hwx/modules/zookeeper/3.4.0.0-b38
> └── ods
> └── 1.0.0-b279
> ├── hadoop_client -> /usr/hwx/modules/hadoop_clients/3.0.0.0-b166
> ├── hbase_client -> /usr/hwx/modules/hbase_clients/2.0.0.0-b219
> ├── hbase_master -> /usr/hwx/modules/hbase/2.0.0.0-b219
> ├── hbase_regionserver -> /usr/hwx/modules/hbase/2.0.0.0-b219
> ├── mpack.json
> └── zookeeper_client -> /usr/hwx/modules/zookeeper_clients/3.4.0.0-b38
> {code}
> The command line should print something like the following:
> {code:java}
> hdpcore
> |__ HDPCORE (default)
> |__ zookeeper
> |__ zookeeper_server (default)
> |─ mpack_version -> 1.0.0-b415
> |─ module_version -> 3.4.0.0-b38
> |─ instance_path -> /usr/hwx/instances/..../current
> |─ mpack_path -> /usr/hwx/mpacks/....
> |─ module_path -> /usr/hwx/modules/....
> |─ conf_dir -> /usr/hwx/instances/..../conf
> |─ log_dir -> /usr/hwx/instances/..../logs
> |─ run_dir -> /usr/hwx/instances/..../run
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]