2018-05-22 17:49:10 +00:00
|
|
|
---
|
2019-06-28 17:51:30 +00:00
|
|
|
title: "Tools"
|
|
|
|
date: "2017-10-10"
|
|
|
|
summary: Ozone supports a set of tools that are handy for developers.Here is a quick list of command line tools.
|
2019-09-19 12:42:33 +00:00
|
|
|
menu:
|
|
|
|
main:
|
|
|
|
weight: 8
|
2018-05-22 17:49:10 +00:00
|
|
|
---
|
2019-09-19 12:42:33 +00:00
|
|
|
|
2017-06-20 04:29:18 +00:00
|
|
|
<!---
|
2018-09-17 23:21:10 +00:00
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
2017-06-20 04:29:18 +00:00
|
|
|
|
2018-09-17 23:21:10 +00:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2017-06-20 04:29:18 +00:00
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
2018-09-17 23:21:10 +00:00
|
|
|
limitations under the License.
|
2017-06-20 04:29:18 +00:00
|
|
|
-->
|
2018-09-17 17:46:28 +00:00
|
|
|
|
|
|
|
Ozone has a set of command line tools that can be used to manage ozone.
|
|
|
|
|
|
|
|
All these commands are invoked via the ```ozone``` script.
|
|
|
|
|
2019-09-19 12:42:33 +00:00
|
|
|
Daemon commands:
|
|
|
|
|
|
|
|
* **scm** - Storage Container Manager service, via daemon can be started
|
|
|
|
or stopped.
|
|
|
|
* **om** - Ozone Manager, via daemon command can be started or stopped.
|
|
|
|
* **datanode** - Via daemon command, the HDDS data nodes can be started or
|
|
|
|
stopped.
|
|
|
|
* **s3g** -
|
|
|
|
|
|
|
|
Client commands:
|
|
|
|
|
|
|
|
* **sh** - Primary command line interface for ozone to manage volumes/buckets/keys.
|
|
|
|
* **fs** - Runs a command on ozone file system (similar to `hdfs dfs`)
|
|
|
|
* **version** - Prints the version of Ozone and HDDS.
|
|
|
|
|
|
|
|
|
|
|
|
Admin commands:
|
2018-09-17 17:46:28 +00:00
|
|
|
|
|
|
|
* **classpath** - Prints the class path needed to get the hadoop jar and the
|
|
|
|
required libraries.
|
2019-04-05 21:14:42 +00:00
|
|
|
* **dtutil** - Operations related to delegation tokens
|
2018-09-17 17:46:28 +00:00
|
|
|
* **envvars** - Display computed Hadoop environment variables.
|
2018-10-10 00:52:06 +00:00
|
|
|
* **getconf** - Reads ozone config values from configuration.
|
2018-09-17 17:46:28 +00:00
|
|
|
* **jmxget** - Get JMX exported values from NameNode or DataNode.
|
|
|
|
* **scmcli** - Developer only, Command Line Interface for the Storage
|
|
|
|
Container Manager.
|
|
|
|
* **genconf** - Generate minimally required ozone configs and output to
|
|
|
|
ozone-site.xml.
|
2019-09-19 12:42:33 +00:00
|
|
|
|
|
|
|
Test tools:
|
|
|
|
|
|
|
|
* **freon** - Runs the ozone load generator.
|
|
|
|
* **genesis** - Developer Only, Ozone micro-benchmark application.
|
|
|
|
|
|
|
|
For more information see the following subpages:
|