Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1405

unchecked cast warnings in trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      compile-mapred-classes:
      [jsp-compile] 10/01/24 15:16:55 WARN compiler.TldLocationsCache: Internal Error: File /WEB-INF/web.xml not found
          [javac] Compiling 494 source files to /.../mapred/build/classes
          [javac] /.../mapred/src/java/org/apache/hadoop/mapred/Child.java:159: warning: [unchecked] unchecked cast
          [javac] found   : org.apache.hadoop.security.token.Token<capture#981 of ? extends org.apache.hadoop.security.token.TokenIdentifier>
          [javac] required: org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier>
          [javac]         Token<JobTokenIdentifier> jt = (Token<JobTokenIdentifier>)ts.getJobToken();
          [javac]                                                                                 ^
          [javac] /.../mapred/src/java/org/apache/hadoop/mapred/TaskTracker.java:922: warning: [unchecked] unchecked cast
          [javac] found   : org.apache.hadoop.security.token.Token<capture#810 of ? extends org.apache.hadoop.security.token.TokenIdentifier>
          [javac] required: org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier>
          [javac]         Token<JobTokenIdentifier> jt = (Token<JobTokenIdentifier>)ts.getJobToken();
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cdouglas Christopher Douglas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: