[ 
https://issues.apache.org/jira/browse/PIG-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753368#action_12753368
 ] 

Daniel Dai commented on PIG-950:
--------------------------------

Here is the experiment I tried:

hadoop fs -ls gutenberg
{code}
/user/jianyong/gutenberg/.2.txt
/user/jianyong/gutenberg/1.txt
{code}
hadoop fs -cat /gutenberg/1.txt
{code}
hello
{code}
hadoop fs -cat /gutenberg/.2.txt
{code}
daniel
{code}
hadoop jar hadoop-0.18.1-examples.jar wordcount gutenberg gutenberg-output
hadoop fs -cat gutenberg-output/part-00000
{code}
hello   1
{code}

> Pig Loader does not handle unix hidden files ( files starting with dot)
> -----------------------------------------------------------------------
>
>                 Key: PIG-950
>                 URL: https://issues.apache.org/jira/browse/PIG-950
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.4.0
>            Reporter: Jing Huang
>
> I am trying to load .btschema file using pig loader, ( .btschema is not an 
> empty file)
> This is what I did:
> grunt> a = load '.btschema';
> grunt> dump a;
> 2009-09-09 17:41:21,170 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MultiQueryOptimizer
>  - MR plan size before optimization: 1
> 2009-09-09 17:41:21,170 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MultiQueryOptimizer
>  - MR plan size after optimization: 1
> 2009-09-09 17:41:23,092 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler
>  - Setting up single store job
> 2009-09-09 17:41:23,106 [main] INFO  org.apache.hadoop.metrics.jvm.JvmMetrics 
> - Cannot initialize JVM Metrics with processName=JobTracker, sessionId= - 
> already initialized
> 2009-09-09 17:41:23,127 [Thread-4] WARN  org.apache.hadoop.mapred.JobClient - 
> Use GenericOptionsParser for parsing the arguments. Applications should 
> implement Tool for the same.
> 2009-09-09 17:41:23,623 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
>  - 0% complete
> 2009-09-09 17:41:28,644 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
>  - 100% complete
> 2009-09-09 17:41:28,644 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
>  - Successfully stored result in: "file:/tmp/temp1655555972/tmp-527102439"
> 2009-09-09 17:41:28,645 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
>  - Records written : 0
> 2009-09-09 17:41:28,645 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
>  - Bytes written : 0
> 2009-09-09 17:41:28,645 [main] INFO  
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
>  - Success!
> grunt> 
> =========
> it dumps nothing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to