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

Add debug log for getting details of tokenKindMap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.4
    • 3.3.6
    • None
    • Reviewed

    Description

      Currently there is no way to know what is store in tokenKindMap. There are also no debug logs . I think we should add gettokenKindMap method , so that caller can see the content of the tokenKindMap . It will really help to debug . 

      while (tokenIdentifiers.hasNext()) {
                try {
                  TokenIdentifier id = tokenIdentifiers.next();
                  *tokenKindMap.put(id.getKind(), id.getClass());*
                } catch (ServiceConfigurationError | LinkageError e) {
                  // failure to load a token implementation
                  // log at debug and continue.
                  LOG.debug("Failed to load token identifier implementation", e);
                }
              }
            }
      

      Attachments

        Issue Links

          Activity

            People

              pralabhkumar Pralabh Kumar
              pralabhkumar Pralabh Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: