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

RBF: create mount point with RANDOM policy and with 2 Nameservices doesn't work properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: federation
    • Labels:

      Description

      Scenario:-

      1. Create a mount point with RANDOM policy and with 2 Nameservices .
      2. List the target mount path of the Global path.

      Actual Output:
      ===========
      ls: `/apps5': No such file or directory

      Expected Output:
      =============

      if the files are availabel list those files or if it's emtpy it will disply nothing

       
      bin> ./hdfs dfsrouteradmin -add /apps5 hacluster,ns2 /tmp10 -order RANDOM -owner securedn -group hadoop
      Successfully added mount point /apps5
      bin> ./hdfs dfs -ls /apps5
      ls: `/apps5': No such file or directory
      bin> ./hdfs dfs -ls /apps3
      Found 2 items
      drwxrwxrwx   - user group 0 2018-08-09 19:55 /apps3/apps1
      -rw-r--r--   3   - user group  4 2018-08-10 11:55 /apps3/ttt
       

      please refer the bellow image for mount inofrmation

      /apps3 tagged with HASH policy
      /apps5 tagged with RANDOM policy

      /bin> ./hdfs dfsrouteradmin -ls
      
      Mount Table Entries:
      Source                    Destinations              Owner                     Group                     Mode                      Quota/Usage
      
      /apps3                    hacluster->/tmp3,ns2->/tmp4 securedn                  users                     rwxr-xr-x                 [NsQuota: -/-, SsQuota: -/-]
      
      /apps5                    hacluster->/tmp5,ns2->/tmp5 securedn                  users                     rwxr-xr-x                 [NsQuota: -/-, SsQuota: -/-]
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ramkumar Ramkumar Ramalingam
                Reporter:
                Harsha1206 Harshakiran Reddy
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: