Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-457

ozone om -help, scm -help commands cant run unless the service is stopped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      ➜ ozone-0.3.0-SNAPSHOT bin/ozone om -help
      om is running as process 89242. Stop it first.
      
      ➜ ozone-0.3.0-SNAPSHOT bin/ozone scm -help
      scm is running as process 73361. Stop it first.
      

      It runs fine once the service is stopped

      ➜ ozone-0.3.0-SNAPSHOT bin/ozone --daemon stop scm
      ➜ ozone-0.3.0-SNAPSHOT bin/ozone scm -help
      Usage:
      ozone scm [genericOptions] [ -init [ -clusterid <cid> ] ]
      ozone scm [genericOptions] [ -genclusterid ]
      ozone scm [ -help ]
      
      
      Generic options supported are:
      -conf <configuration file> specify an application configuration file
      -D <property=value> define a value for a given property
      -fs <file:///|hdfs://namenode:port> specify default filesystem URL to use, overrides 'fs.defaultFS' property from configurations.
      -jt <local|resourcemanager:port> specify a ResourceManager
      -files <file1,...> specify a comma-separated list of files to be copied to the map reduce cluster
      -libjars <jar1,...> specify a comma-separated list of jar files to be included in the classpath
      -archives <archive1,...> specify a comma-separated list of archives to be unarchived on the compute machines
      
      The general command line syntax is:
      command [genericOptions] [commandOptions]
      
      

       

      Ideally help command should run fine without the service being stopped.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nmaheshwari Namit Maheshwari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: