[jira] [Commented] (PIG-5304) Support Pig build with Hadoop 2.8.1

2017-09-14 Thread Anton Chevychalov (JIRA)

[ 
https://issues.apache.org/jira/browse/PIG-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16166287#comment-16166287
 ] 

Anton Chevychalov commented on PIG-5304:


[~nkollar], Ok I got a problem. If there is no plan to switch to 2.8.x I think 
it's better to make some condition. 

> Support Pig build with Hadoop 2.8.1
> ---
>
> Key: PIG-5304
> URL: https://issues.apache.org/jira/browse/PIG-5304
> Project: Pig
>  Issue Type: Improvement
>  Components: build
>Reporter: Anton Chevychalov
> Attachments: 0001-PIG-5304-Fix-build-issue-with-Hadoop-2.8.patch
>
>
> There is no way to build Pig with Hadoop 2.8 due to 
> [javac] 
> /code/build/pig/rpm/BUILD/pig-0.15.0-src/src/org/apache/pig/backend/hadoop/datastorage/HDataStorage.java:33:
>  error: cannot find symbol
> [javac] import org.apache.hadoop.hdfs.DistributedFileSystem;
> [javac]  ^
> [javac]   symbol:   class DistributedFileSystem
> [javac]   location: package org.apache.hadoop.hdfs
> That trouble was caused by HDFS-8740
> So we need to add hadoop-hdfs-client as dependency. 
> I'll upload patch shortly. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (PIG-5304) Support Pig build with Hadoop 2.8.1

2017-09-14 Thread Anton Chevychalov (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anton Chevychalov updated PIG-5304:
---
Attachment: 0001-PIG-5304-Fix-build-issue-with-Hadoop-2.8.patch

> Support Pig build with Hadoop 2.8.1
> ---
>
> Key: PIG-5304
> URL: https://issues.apache.org/jira/browse/PIG-5304
> Project: Pig
>  Issue Type: Improvement
>  Components: build
>Reporter: Anton Chevychalov
> Attachments: 0001-PIG-5304-Fix-build-issue-with-Hadoop-2.8.patch
>
>
> There is no way to build Pig with Hadoop 2.8 due to 
> [javac] 
> /code/build/pig/rpm/BUILD/pig-0.15.0-src/src/org/apache/pig/backend/hadoop/datastorage/HDataStorage.java:33:
>  error: cannot find symbol
> [javac] import org.apache.hadoop.hdfs.DistributedFileSystem;
> [javac]  ^
> [javac]   symbol:   class DistributedFileSystem
> [javac]   location: package org.apache.hadoop.hdfs
> That trouble was caused by HDFS-8740
> So we need to add hadoop-hdfs-client as dependency. 
> I'll upload patch shortly. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (PIG-5304) Support Pig build with Hadoop 2.8.1

2017-09-14 Thread Anton Chevychalov (JIRA)
Anton Chevychalov created PIG-5304:
--

 Summary: Support Pig build with Hadoop 2.8.1
 Key: PIG-5304
 URL: https://issues.apache.org/jira/browse/PIG-5304
 Project: Pig
  Issue Type: Improvement
  Components: build
Reporter: Anton Chevychalov


There is no way to build Pig with Hadoop 2.8 due to 

[javac] 
/code/build/pig/rpm/BUILD/pig-0.15.0-src/src/org/apache/pig/backend/hadoop/datastorage/HDataStorage.java:33:
 error: cannot find symbol
[javac] import org.apache.hadoop.hdfs.DistributedFileSystem;
[javac]  ^
[javac]   symbol:   class DistributedFileSystem
[javac]   location: package org.apache.hadoop.hdfs

That trouble was caused by HDFS-8740

So we need to add hadoop-hdfs-client as dependency. 

I'll upload patch shortly. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)