[jira] [Commented] (PHOENIX-2810) Fixing IndexTool Dependencies

2016-04-07 Thread churro morales (JIRA)

[ 
https://issues.apache.org/jira/browse/PHOENIX-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15230388#comment-15230388
 ] 

churro morales commented on PHOENIX-2810:
-

Its not the deprecation I am worried about.  Its the fact that 
HFileOutputFormat is gone in 2.x version of HBase.  
LoadIncrementalFiles.doBulkLoad is available in branch 1 (all versions).  
https://github.com/apache/hbase/blob/rel/1.0.0/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java#L245
 



> Fixing IndexTool Dependencies
> -
>
> Key: PHOENIX-2810
> URL: https://issues.apache.org/jira/browse/PHOENIX-2810
> Project: Phoenix
>  Issue Type: Bug
>Reporter: churro morales
>Priority: Minor
>  Labels: HBASEDEPENDENCIES
> Attachments: PHOENIX-2810.patch
>
>
> IndexTool uses HFileOutputFormat which is deprecated.  Use HFileOutputFormat2 
> instead and fix other private dependencies for this class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PHOENIX-2810) Fixing IndexTool Dependencies

2016-04-07 Thread maghamravikiran (JIRA)

[ 
https://issues.apache.org/jira/browse/PHOENIX-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15230219#comment-15230219
 ] 

maghamravikiran commented on PHOENIX-2810:
--

Valid [~gabriel.reid] .  The patch applies neatly only on the master and breaks 
on 4.x - HBase-1.0 and 4.x-HBase-0.98. 
Holding off merging this patch .

> Fixing IndexTool Dependencies
> -
>
> Key: PHOENIX-2810
> URL: https://issues.apache.org/jira/browse/PHOENIX-2810
> Project: Phoenix
>  Issue Type: Bug
>Reporter: churro morales
>Priority: Minor
>  Labels: HBASEDEPENDENCIES
> Attachments: PHOENIX-2810.patch
>
>
> IndexTool uses HFileOutputFormat which is deprecated.  Use HFileOutputFormat2 
> instead and fix other private dependencies for this class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PHOENIX-2810) Fixing IndexTool Dependencies

2016-04-07 Thread Gabriel Reid (JIRA)

[ 
https://issues.apache.org/jira/browse/PHOENIX-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15229896#comment-15229896
 ] 

Gabriel Reid commented on PHOENIX-2810:
---

Sorry I took so long to take a look at this.

The patch doesn't work on the HBase 0.98 version, because things like 
Connection and RegionLocator didn't exist in HBase 0.98, and isn't directly 
compatible with the HBase 1.0 version because it makes use of a new overload of 
LoadIncrementalHFiles.doBulkLoad that isn't available in 1.0.

I'm no longer sure what the plan is for supporting 0.98 and 1.0 in terms of 
future releases, but I think it might be better to hold off on making this 
change until then. It's basically a cosmetic change for now anyway (the 
deprecated HFileOutputFormat simply delegates everything to 
HFileOutputFormat2), so while we'd be getting rid of the deprecation warning, 
we'd be adding in extra unnecessary differences between branches without a real 
advantage I think.

> Fixing IndexTool Dependencies
> -
>
> Key: PHOENIX-2810
> URL: https://issues.apache.org/jira/browse/PHOENIX-2810
> Project: Phoenix
>  Issue Type: Bug
>Reporter: churro morales
>Priority: Minor
>  Labels: HBASEDEPENDENCIES
> Attachments: PHOENIX-2810.patch
>
>
> IndexTool uses HFileOutputFormat which is deprecated.  Use HFileOutputFormat2 
> instead and fix other private dependencies for this class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PHOENIX-2810) Fixing IndexTool Dependencies

2016-04-06 Thread James Taylor (JIRA)

[ 
https://issues.apache.org/jira/browse/PHOENIX-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15229055#comment-15229055
 ] 

James Taylor commented on PHOENIX-2810:
---

[~maghamravikiran] - would you mind reviewing and committing if it looks ok?

> Fixing IndexTool Dependencies
> -
>
> Key: PHOENIX-2810
> URL: https://issues.apache.org/jira/browse/PHOENIX-2810
> Project: Phoenix
>  Issue Type: Bug
>Reporter: churro morales
>Priority: Minor
>  Labels: HBASEDEPENDENCIES
> Attachments: PHOENIX-2810.patch
>
>
> IndexTool uses HFileOutputFormat which is deprecated.  Use HFileOutputFormat2 
> instead and fix other private dependencies for this class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PHOENIX-2810) Fixing IndexTool Dependencies

2016-04-06 Thread Sergey Soldatov (JIRA)

[ 
https://issues.apache.org/jira/browse/PHOENIX-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15228941#comment-15228941
 ] 

Sergey Soldatov commented on PHOENIX-2810:
--

Looks good to me. 

> Fixing IndexTool Dependencies
> -
>
> Key: PHOENIX-2810
> URL: https://issues.apache.org/jira/browse/PHOENIX-2810
> Project: Phoenix
>  Issue Type: Bug
>Reporter: churro morales
>Priority: Minor
>  Labels: HBASEDEPENDENCIES
> Attachments: PHOENIX-2810.patch
>
>
> IndexTool uses HFileOutputFormat which is deprecated.  Use HFileOutputFormat2 
> instead and fix other private dependencies for this class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)