Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14603 Über-JIRA: HDFS RBF stabilization phase II
  3. HDFS-13577

RBF: Failed mount point operations, returns wrong exit code.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      If client is performed add mount point with some special character, mount point add is failed.

      And prints the message like

      18/05/17 09:58:34 DEBUG ipc.ProtobufRpcEngine: Call: addMountTableEntry took 19ms Cannot add mount point /testSpecialCharMountPointCreation/test/
      

      In the above case it should return the exist code is non zero value.

      RouterAdmin.java
      Exception debugException = null;
      exitCode = 0;
      try {
      if ("-add".equals(cmd)) {
      if (addMount(argv, i)) {
      System.out.println("Successfully added mount point " + argv[i]);
      }
      

      we should handle this kind of cases also.

      Attachments

        Issue Links

          Activity

            People

              dibyendu_hadoop Dibyendu Karmakar
              sreenivasulureddy Y. SREENIVASULU REDDY
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: