----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27659/#review60545 -----------------------------------------------------------
src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java <https://reviews.apache.org/r/27659/#comment101923> From the context, the code already knows the table name to access, can you use it for testing? src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java <https://reviews.apache.org/r/27659/#comment101924> Are you sure that an IOException will be thrown for priviledge reason instead of returning a false by `tableExists`. Maybe a test case can be helpful. - Qian Xu On Nov. 8, 2014, 5:55 a.m., Abraham Elmahrek wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/27659/ > ----------------------------------------------------------- > > (Updated Nov. 8, 2014, 5:55 a.m.) > > > Review request for Sqoop. > > > Bugs: SQOOP-1684 > https://issues.apache.org/jira/browse/SQOOP-1684 > > > Repository: sqoop-trunk > > > Description > ------- > > commit 15a1ccdc06e7fcf541d7f7e65d3c9078ef088852 > Author: Abraham Elmahrek <[email protected]> > Date: Wed Nov 5 17:55:48 2014 -0800 > > SQOOP-1684: Use pre-existing HBase delegation token > > :100644 100644 d10050d... 25b9f3b... M > src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java > > > Diffs > ----- > > src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java d10050d > > Diff: https://reviews.apache.org/r/27659/diff/ > > > Testing > ------- > > Tested on kerberized cluster. Skipping authentication successfully if token > is provided. > > > Thanks, > > Abraham Elmahrek > >
