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

Support -conf command line argument in GenericCli

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.1
    • None
    • Done

    Description

      org.apache.hadoop.hdds.GenericCli is the based class for all the Ozone related command line application. It supports to define custom configuration variables (D or --set) but doesn't support the '-conf ozone-site.xml' argument to load an external xml file to the configuration.

      Configuration and OzoneConfiguration classes load the ozone-site.xml from the classpath. But it makes very hard to start Ozone components in IDE as we can't modify the classpath easily.

      One option here is to support the --conf everywhere to make it possible to start ozone cluster in the IDE.

      Note: It's a nice to have for 0.4.0. I marked it as 0.5.0 but safe to commit at anytime to 0.4.0

      Attachments

        1. HDDS-1192.001.patch
          23 kB
          Kitti Nanasi
        2. HDDS-1192.002.patch
          23 kB
          Kitti Nanasi
        3. HDDS-1192.003.patch
          23 kB
          Kitti Nanasi
        4. HDDS-1192.004.patch
          23 kB
          Kitti Nanasi
        5. HDDS-1192.005.patch
          23 kB
          Kitti Nanasi

        Issue Links

          Activity

            People

              knanasi Kitti Nanasi
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m