Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5727

Export cluster-configuration does not work filename only

    XMLWordPrintableJSON

Details

    Description

      Using the latest Geode snapshot (aaac1e5cefe6ad7ca533a7ca87eef9dd779912e4), exporting cluster config with only a filename (no path) results in an error:

      gfsh> start locator
      gfsh> start server
      gfsh> create region --name=test --type=PARTITION
      
      gfsh> export cluster-configuration --zip-file-name=cluster-config.zip
      Could not process command due to error. null
      

      It does (sort of) work if you use a path:

      gfsh> start locator
      gfsh> start server
      gfsh> create region --name=test --type=PARTITION
      
      gfsh> export cluster-configuration --zip-file-name=./cluster-config.zip
      

      However, it appears that the cluster config file is written to both the specified path and the current working directory.

      gfsh > export cluster-configuration --zip-file-name=/tmp/cluster-config.zip
      
      $ md5 /tmp/cluster-config.zip cluster-config.zip
      MD5 (/tmp/cluster-config.zip) = 50022493fa54f54da700adfc1a8f709c
      MD5 (cluster-config.zip) = 50022493fa54f54da700adfc1a8f709c
      

      Attachments

        Issue Links

          Activity

            People

              jinmeiliao Jinmei Liao
              bradfordboyle Bradford D. Boyle
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1h
                  1h