You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Aniket Mokashi (JIRA)" <ji...@apache.org> on 2013/10/31 21:15:18 UTC
[jira] [Commented] (PIG-3552) UriUtil used by reducer estimator
should support viewfs
[ https://issues.apache.org/jira/browse/PIG-3552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810651#comment-13810651 ]
Aniket Mokashi commented on PIG-3552:
-------------------------------------
+1. Can you add a test before we commit this?
[~rohini], [~knoguchi], I'm curious, why didn't you hit this one when running with hadoop 2?
> UriUtil used by reducer estimator should support viewfs
> -------------------------------------------------------
>
> Key: PIG-3552
> URL: https://issues.apache.org/jira/browse/PIG-3552
> Project: Pig
> Issue Type: Bug
> Components: impl
> Environment: Pig 0.11+
> Reporter: Akihiro Matsukawa
> Assignee: Akihiro Matsukawa
> Attachments: UriUtil_enable_viewfs.patch
>
>
> On Hadoop2 running viewfs throws error
> {code}
> 2013-10-30 02:12:46,916 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler - Using reducer estimator: org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.InputSizeReducerEstimator
> 2013-10-30 02:12:46,917 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.InputSizeReducerEstimator - BytesPerReducer=1610612736 maxReducers=999 totalInputFileSize=-1
> 2013-10-30 02:12:46,917 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler - Could not estimate number of reducers and no requested or default parallelism set. Defaulting to 1 reducer.
> {code}
> This is caused by the fact that UriUtil.isHDFSFileOrLocalOrS3N only supports files that start with "/", "hdfs:", "file:", "s3n:" but not "viewfs:".
> Trivial fix, patch attached.
> Testing: ant test-commit passes.
--
This message was sent by Atlassian JIRA
(v6.1#6144)