[ 
https://issues.apache.org/jira/browse/HIVE-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918085#action_12918085
 ] 

Pradeep Kamath commented on HIVE-842:
-------------------------------------

Hey Todd, I applied  the patches in the following sequence on current hive 
trunk:
hive-1264.txt, hive-842.txt and then HIVE-1526.2.patch.txt. The last one didn't 
apply cleanly for 
ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java - so I 
manually edited it based on the reject file. After that, I get the following 
compile error:

  [javac] Compiling 607 source files to /tmp/hive-svn/build/ql/classes
    [javac] 
/tmp/hive-svn/ql/src/java/org/apache/hadoop/hive/ql/exec/MapRedTask.java:384: 
cannot find symbol
    [javac] symbol  : class StageType
    [javac] location: class org.apache.hadoop.hive.ql.exec.MapRedTask
    [javac]   public StageType getType() {
    [javac]          ^
    [javac] 
/tmp/hive-svn/ql/src/java/org/apache/hadoop/hive/ql/exec/MapRedTask.java:385: 
cannot find symbol
    [javac] symbol  : variable StageType
    [javac] location: class org.apache.hadoop.hive.ql.exec.MapRedTask
    [javac]     return StageType.MAPREDLOCAL;
    [javac]            ^
    [javac] 
/tmp/hive-svn/ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java:214: 
getType() in org.apache.hadoop.hive.ql.exec.StatsTask cannot override getType() 
in org.apache.hadoop.hive.ql.exec.Task; attempting to use incompatible return 
type
    [javac] found   : int
    [javac] required: org.apache.hadoop.hive.ql.plan.api.StageType
    [javac]   public int getType() {
    [javac]              ^
    [javac] 
/tmp/hive-svn/ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java:215: 
cannot find symbol
    [javac] symbol  : variable STATS
    [javac] location: class org.apache.hadoop.hive.ql.plan.api.StageType
    [javac]     return StageType.STATS;
    [javac]                     ^
    [javac] 
/tmp/hive-svn/ql/src/java/org/apache/hadoop/hive/ql/exec/StatsTask.java:213: 
method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^


> Authentication Infrastructure for Hive
> --------------------------------------
>
>                 Key: HIVE-842
>                 URL: https://issues.apache.org/jira/browse/HIVE-842
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Server Infrastructure
>            Reporter: Edward Capriolo
>            Assignee: Todd Lipcon
>         Attachments: hive-842.txt, HiveSecurityThoughts.pdf
>
>
> This issue deals with the authentication (user name,password) infrastructure. 
> Not the authorization components that specify what a user should be able to 
> do.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to