Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17875

[KMS] FileNotFoundException due to inability to access zookeeper znode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • kms
    • None

    Description

      A mysterious FileNotFoundException was thrown by KMS client. The KMS server did not log anything related to it. After extensive investigation it was realized it could be caused by either of the two Zookeeper errors:

      (1) unable to access the znode /zkdtsm due to Zookeeper ACL or other problems.
      (2) if there's a runtime dependency mismatch. In in case, our RangerKMS (where the HadoopKMS runtime is embedded), threw a NoSuchMethodError during curator initialization (the RangerKMS used an incompatible curator-recipes version at runtime). Curator was not initialized successfully and therefore unable to access the znode.

      In any case, it would be great to surface up the zookeeper issue to make troubleshooting easier.

      Attachments

        Activity

          People

            Unassigned Unassigned
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: