Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3542

Handle better old Hdfs implementations in ECPolicyDisabler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2.0
    • tools
    • None
    • Patch

    Description

      Currently, ECPolicyDisabler checks if the local hdfs implementation has the necessary methods to get and set erasure coding policy. However, if the namenode implementation is old, it could throw a org.apache.hadoop.ipc.RemoteException with RpcErrorCodeProto.ERROR_NO_SUCH_METHOD value in it.
      In this case, ECPolicyDisabler fails, and prevents the installation to succeed.

      This case should be handled just like, when erasure coding is not supported.

      Attachments

        1. OOZIE-3542-2.patch
          12 kB
          Zsombor Gegesy
        2. OOZIE-3542-3.patch
          11 kB
          Dénes Bodó
        3. OOZIE-3542-4.patch
          12 kB
          Zsombor Gegesy
        4. OOZIE-3542-amend-01.patch
          5 kB
          Zsombor Gegesy
        5. OOZIE-3542-amend-02.patch
          8 kB
          Zsombor Gegesy

        Activity

          People

            zsombor Zsombor Gegesy
            zsombor Zsombor Gegesy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: