Sharmadha Sainath created ATLAS-1909:
----------------------------------------

             Summary: Import/Export : Exception while using "transforms" option 
during import
                 Key: ATLAS-1909
                 URL: https://issues.apache.org/jira/browse/ATLAS-1909
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.9-incubating
            Reporter: Sharmadha Sainath
            Priority: Blocker
         Attachments: Import_transforms_error.txt

1. Created a table t5 in cluster1.
2. Created the export zip file for table t5 on firing export API on cluster1.
3. Created the t5transforms.json file 
{code}
{

  "options": {

   "transforms": {
    "hive_table": {
      "qualifiedName": [
        "replace:@cl1:@cl2"
      ]
    }
      }
    }
  }
{code}
4.Fired import API on cluster2 using curl call :

{code}
curl -v -g -X POST -u admin:admin -H "Content-Type: multipart/form-data" -H 
"Cache-Control: no-cache" -F request=@t5transforms.json -F data=@t5.zip 
"http://cluster2:21000/api/atlas/admin/import";
{code}

Request failed with 500 Internal server error and the following message :
{code}
{"errorCode":"ATLAS-500-00-001","errorMessage":"org.apache.atlas.exception.AtlasBaseException:
 java.lang.NullPointerException"}
{code}

Attached the complete exception stack trace found in cluster2's  application 
logs.




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

Reply via email to