Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13815

RBF: Add check to order command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.2.0, 3.1.2
    • federation
    • None
    • Reviewed

    Description

      No check being done on order command.
      It says successfully updated mount table if we don't specify order command and it is not updated in mount table
      Execute the dfsrouter update command with the below scenarios.

      1. ./hdfs dfsrouteradmin -update /apps3 hacluster,ns2 /tmp6 RANDOM

      2. ./hdfs dfsrouteradmin -update /apps3 hacluster,ns2 /tmp6 -or RANDOM

      3. ./hdfs dfsrouteradmin -update /apps3 hacluster,ns2 /tmp6  -ord RANDOM

      4. ./hdfs dfsrouteradmin -update /apps3 hacluster,ns2 /tmp6  -orde RANDOM

       

      The console message says, Successfully updated mount point. But it is not updated in the mount table.

       

      Expected Result:

      Exception on console as the order command is missing/not written properl

      Attachments

        1. HDFS-13815-011.patch
          5 kB
          Yiqun Lin
        2. HDFS-13815-010.patch
          5 kB
          Ranith Sardar
        3. HDFS-13815-009.patch
          5 kB
          Ranith Sardar
        4. HDFS-13815-008.patch
          5 kB
          Ranith Sardar
        5. HDFS-13815-007.patch
          5 kB
          Yiqun Lin
        6. HDFS-13815-006.patch
          5 kB
          Ranith Sardar
        7. HDFS-13815-005.patch
          5 kB
          Ranith Sardar
        8. HDFS-13815-004.patch
          5 kB
          Ranith Sardar
        9. HDFS-13815-003.patch
          5 kB
          Ranith Sardar
        10. HDFS-13815-002.patch
          4 kB
          Ranith Sardar
        11. HDFS-13815-001.patch
          3 kB
          Ranith Sardar

        Issue Links

          Activity

            People

              RANith Ranith Sardar
              SoumyaPN Soumyapn
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: