[ 
https://issues.apache.org/jira/browse/HBASE-20521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463243#comment-16463243
 ] 

Michael Jin commented on HBASE-20521:
-------------------------------------

[~mdrob], just attached a patch, include code change and unit test, please help 
to review yourself or invite other reviewer, looks a little bit odd put 
"hbase-mapreduce" module function test under "hbase-spark", but create spark 
env and hbase env("TEST_UTIL" class) really a great help.

> TableOutputFormat.checkOutputSpecs conf checking sequence cause pig script 
> run fail
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-20521
>                 URL: https://issues.apache.org/jira/browse/HBASE-20521
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 2.0.0
>         Environment: spark 2.2.1, hbase 2.0.0
>            Reporter: Michael Jin
>            Assignee: Michael Jin
>            Priority: Major
>             Fix For: 3.0.0, 2.1.0, 2.0.1
>
>         Attachments: HBASE-20521.master.001.patch
>
>
> HBASE-20295 fix null point exception of "conf" member variable, add 
> "context.getConfiguration()" in case when "conf" object was not been properly 
> initialized, and put it into the first priority checking sequence, this code 
> change affect user call "setConf" explicitly initialize "conf" object in 
> TableOutputFormat object, proposal to change checking sequence, use "conf" 
> object from "getConf" method first .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to