You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2013/12/05 16:46:42 UTC

[jira] [Created] (PIG-3612) Storing schema does not work cross cluster with PigStorage and JsonStorage

Rohini Palaniswamy created PIG-3612:
---------------------------------------

             Summary: Storing schema does not work cross cluster with PigStorage and JsonStorage
                 Key: PIG-3612
                 URL: https://issues.apache.org/jira/browse/PIG-3612
             Project: Pig
          Issue Type: Bug
            Reporter: Rohini Palaniswamy
            Assignee: Rohini Palaniswamy
             Fix For: 0.13.0


java.lang.IllegalArgumentException: Wrong FS:
hdfs://cluster2-nn:8020/tmp/output/.pig_schema,
expected: hdfs://cluster1-nn1
    at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:582)
    at
org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:155)
    at
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:734)
    at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1272)
    at
org.apache.pig.backend.hadoop.datastorage.HDataStorage.isContainer(HDataStorage.java:200)
    at
org.apache.pig.backend.hadoop.datastorage.HDataStorage.asElement(HDataStorage.java:128)
    at
org.apache.pig.backend.hadoop.datastorage.HDataStorage.asElement(HDataStorage.java:144)
    at org.apache.pig.builtin.JsonMetadata.storeSchema(JsonMetadata.java:294)
    at org.apache.pig.builtin.JsonStorage.storeSchema(JsonStorage.java:274)
    at



--
This message was sent by Atlassian JIRA
(v6.1#6144)