Uploaded image for project: 'Apache Twill (Retired)'
  1. Apache Twill (Retired)
  2. TWILL-262

YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is removed from DFSUtils from hadoop-2.8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0, 0.9.0, 0.11.0, 0.12.0, 0.13.0
    • 0.14.0
    • yarn
    • None

    Description

      YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is removed from DFSUtils from hadoop-2.8

      current code

        public static void cloneHaNnCredentials(Configuration config) throws IOException {
          ……
      
          // Loop through all name services. Each name service could have multiple name node associated with it.
          for (Map.Entry<String, Map<String, InetSocketAddress>> entry : DFSUtil.getHaNnRpcAddresses(config).entrySet()) {
            String nsId = entry.getKey();
            Map<String, InetSocketAddress> addressesInNN = entry.getValue();
            if (!HAUtil.isHAEnabled(config, nsId) || addressesInNN == null || addressesInNN.isEmpty()) {
              continue;
            }
      
       ……
        }
      

      Attachments

        1. errors.txt
          1 kB
          Hongyuan Li

        Issue Links

          Activity

            People

              Hongyuan Li Hongyuan Li
              Hongyuan Li Hongyuan Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: