[jira] [Commented] (ATLAS-4523) Build failure on Atlas docs

2022-01-06 Thread Farhan Khan (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-4523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17470373#comment-17470373
 ] 

Farhan Khan commented on ATLAS-4523:


Hi,


Uploaded patch has this fix.

 

> Build failure on Atlas docs
> ---
>
> Key: ATLAS-4523
> URL: https://issues.apache.org/jira/browse/ATLAS-4523
> Project: Atlas
>  Issue Type: Bug
>Reporter: Rahul Kurup
>Assignee: Farhan Khan
>Priority: Major
> Attachments: 0001-ATLAS-4523-Build-failure-on-Atlas-docs.patch
>
>
> When 'mvn site'is run to build the Atlas docs, the following error is 
> encountered.
> {{[ERROR] There was an error loading your config:
> [ERROR] 
> [ERROR] TypeError: babel.loadOptionsSync is not a function
> [ERROR] at exports.transformSync 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
> [ERROR] at Function.handleMessage 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
> [ERROR] at LocalClient. 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
> [ERROR] at LocalClient.transform 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
> [ERROR] at compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
> [ERROR] at compileBabel7 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
> [ERROR] at Module._compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
> [ERROR] at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
> [ERROR] at Object.newLoader [as .js] 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
> [ERROR] at Module.load (internal/modules/cjs/loader.js:1001:32)
> [ERROR] at Function.Module._load (internal/modules/cjs/loader.js:900:14)
> [ERROR] at Module.require (internal/modules/cjs/loader.js:1043:19)
> [ERROR] at require (internal/modules/cjs/helpers.js:77:18)
> [ERROR] at loadFile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:28:24)
> [ERROR] at Object.load 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:46:27)
> [ERROR] at parseConfig 
> (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:728:101)
> [ERROR] TypeError: babel.loadOptionsSync is not a function
> [ERROR] at exports.transformSync 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
> [ERROR] at Function.handleMessage 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
> [ERROR] at LocalClient. 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
> [ERROR] at LocalClient.transform 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
> [ERROR] at compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
> [ERROR] at compileBabel7 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
> [ERROR] at Module._compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
> [ERROR] at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
> [ERROR] at Object.newLoader [as .js] 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
> [ERROR] at Module.load (internal/modules/cjs/loader.js:1001:32)
> [ERROR] at Function.Module._load (internal/modules/cjs/loader.js:900:14)
> [ERROR] at Module.require (internal/modules/cjs/loader.js:1043:19)
> [ERROR] at require (internal/modules/cjs/helpers.js:77:18)
> [ERROR] at Function.IgnorePlugin 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/webpack/lib/webpack.js:119:22)
> [ERROR] at ignore 
> (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:979:46)
> [ERROR] at Bundler.config 
> (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:1156:3)
> [ERROR] npm ERR! code ELIFECYCLE
> [ERROR] npm ERR! errno 1
> [ERROR] npm ERR! doc@1.0.0 build: `node ./docz-lib/docz/bin/index.js build`
> [ERROR] npm ERR! Exit status 1
> [ERROR] npm ERR! 
> [ERROR] npm ERR! Failed at the doc@1.0.0 build script.
> [ERROR] npm ERR! This is probably not a problem with npm. There is likely 
> additional logging output above.
> [ERROR] 
> [ERROR] npm ERR! A complete log of this run can be found in:
> [ERROR] npm ERR! 

[jira] [Updated] (ATLAS-4523) Build failure on Atlas docs

2022-01-06 Thread Farhan Khan (Jira)


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

Farhan Khan updated ATLAS-4523:
---
Attachment: 0001-ATLAS-4523-Build-failure-on-Atlas-docs.patch

> Build failure on Atlas docs
> ---
>
> Key: ATLAS-4523
> URL: https://issues.apache.org/jira/browse/ATLAS-4523
> Project: Atlas
>  Issue Type: Bug
>Reporter: Rahul Kurup
>Assignee: Farhan Khan
>Priority: Major
> Attachments: 0001-ATLAS-4523-Build-failure-on-Atlas-docs.patch
>
>
> When 'mvn site'is run to build the Atlas docs, the following error is 
> encountered.
> {{[ERROR] There was an error loading your config:
> [ERROR] 
> [ERROR] TypeError: babel.loadOptionsSync is not a function
> [ERROR] at exports.transformSync 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
> [ERROR] at Function.handleMessage 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
> [ERROR] at LocalClient. 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
> [ERROR] at LocalClient.transform 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
> [ERROR] at compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
> [ERROR] at compileBabel7 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
> [ERROR] at Module._compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
> [ERROR] at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
> [ERROR] at Object.newLoader [as .js] 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
> [ERROR] at Module.load (internal/modules/cjs/loader.js:1001:32)
> [ERROR] at Function.Module._load (internal/modules/cjs/loader.js:900:14)
> [ERROR] at Module.require (internal/modules/cjs/loader.js:1043:19)
> [ERROR] at require (internal/modules/cjs/helpers.js:77:18)
> [ERROR] at loadFile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:28:24)
> [ERROR] at Object.load 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:46:27)
> [ERROR] at parseConfig 
> (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:728:101)
> [ERROR] TypeError: babel.loadOptionsSync is not a function
> [ERROR] at exports.transformSync 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
> [ERROR] at Function.handleMessage 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
> [ERROR] at LocalClient. 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
> [ERROR] at LocalClient.transform 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
> [ERROR] at compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
> [ERROR] at compileBabel7 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
> [ERROR] at Module._compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
> [ERROR] at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
> [ERROR] at Object.newLoader [as .js] 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
> [ERROR] at Module.load (internal/modules/cjs/loader.js:1001:32)
> [ERROR] at Function.Module._load (internal/modules/cjs/loader.js:900:14)
> [ERROR] at Module.require (internal/modules/cjs/loader.js:1043:19)
> [ERROR] at require (internal/modules/cjs/helpers.js:77:18)
> [ERROR] at Function.IgnorePlugin 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/webpack/lib/webpack.js:119:22)
> [ERROR] at ignore 
> (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:979:46)
> [ERROR] at Bundler.config 
> (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:1156:3)
> [ERROR] npm ERR! code ELIFECYCLE
> [ERROR] npm ERR! errno 1
> [ERROR] npm ERR! doc@1.0.0 build: `node ./docz-lib/docz/bin/index.js build`
> [ERROR] npm ERR! Exit status 1
> [ERROR] npm ERR! 
> [ERROR] npm ERR! Failed at the doc@1.0.0 build script.
> [ERROR] npm ERR! This is probably not a problem with npm. There is likely 
> additional logging output above.
> [ERROR] 
> [ERROR] npm ERR! A complete log of this run can be found in:
> [ERROR] npm ERR! 

[jira] [Assigned] (ATLAS-4523) Build failure on Atlas docs

2022-01-06 Thread Farhan Khan (Jira)


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

Farhan Khan reassigned ATLAS-4523:
--

Assignee: Farhan Khan

> Build failure on Atlas docs
> ---
>
> Key: ATLAS-4523
> URL: https://issues.apache.org/jira/browse/ATLAS-4523
> Project: Atlas
>  Issue Type: Bug
>Reporter: Rahul Kurup
>Assignee: Farhan Khan
>Priority: Major
>
> When 'mvn site'is run to build the Atlas docs, the following error is 
> encountered.
> {{[ERROR] There was an error loading your config:
> [ERROR] 
> [ERROR] TypeError: babel.loadOptionsSync is not a function
> [ERROR] at exports.transformSync 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
> [ERROR] at Function.handleMessage 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
> [ERROR] at LocalClient. 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
> [ERROR] at LocalClient.transform 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
> [ERROR] at compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
> [ERROR] at compileBabel7 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
> [ERROR] at Module._compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
> [ERROR] at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
> [ERROR] at Object.newLoader [as .js] 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
> [ERROR] at Module.load (internal/modules/cjs/loader.js:1001:32)
> [ERROR] at Function.Module._load (internal/modules/cjs/loader.js:900:14)
> [ERROR] at Module.require (internal/modules/cjs/loader.js:1043:19)
> [ERROR] at require (internal/modules/cjs/helpers.js:77:18)
> [ERROR] at loadFile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:28:24)
> [ERROR] at Object.load 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:46:27)
> [ERROR] at parseConfig 
> (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:728:101)
> [ERROR] TypeError: babel.loadOptionsSync is not a function
> [ERROR] at exports.transformSync 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
> [ERROR] at Function.handleMessage 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
> [ERROR] at LocalClient. 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
> [ERROR] at LocalClient.transform 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
> [ERROR] at compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
> [ERROR] at compileBabel7 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
> [ERROR] at Module._compile 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
> [ERROR] at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
> [ERROR] at Object.newLoader [as .js] 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
> [ERROR] at Module.load (internal/modules/cjs/loader.js:1001:32)
> [ERROR] at Function.Module._load (internal/modules/cjs/loader.js:900:14)
> [ERROR] at Module.require (internal/modules/cjs/loader.js:1043:19)
> [ERROR] at require (internal/modules/cjs/helpers.js:77:18)
> [ERROR] at Function.IgnorePlugin 
> (/home/admin/atlaslocal/atlas/docs/target/node_modules/webpack/lib/webpack.js:119:22)
> [ERROR] at ignore 
> (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:979:46)
> [ERROR] at Bundler.config 
> (/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:1156:3)
> [ERROR] npm ERR! code ELIFECYCLE
> [ERROR] npm ERR! errno 1
> [ERROR] npm ERR! doc@1.0.0 build: `node ./docz-lib/docz/bin/index.js build`
> [ERROR] npm ERR! Exit status 1
> [ERROR] npm ERR! 
> [ERROR] npm ERR! Failed at the doc@1.0.0 build script.
> [ERROR] npm ERR! This is probably not a problem with npm. There is likely 
> additional logging output above.
> [ERROR] 
> [ERROR] npm ERR! A complete log of this run can be found in:
> [ERROR] npm ERR! /home/admin/.npm/_logs/2022-01-06T10_56_45_191Z-debug.log
> [INFO] 
> 
> [INFO] BUILD 

[jira] [Created] (ATLAS-4526) [Regression] When a kafka topic is created atlas response does not contail replicationFactor

2022-01-06 Thread Dharshana M Krishnamoorthy (Jira)
Dharshana M Krishnamoorthy created ATLAS-4526:
-

 Summary: [Regression] When a kafka topic is created atlas response 
does not contail replicationFactor
 Key: ATLAS-4526
 URL: https://issues.apache.org/jira/browse/ATLAS-4526
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Reporter: Dharshana M Krishnamoorthy


When a kafka topic is created, and when it reflected in Atlas, the response 
does not contain 'replicationFactor'

Request: 
[https://quasar-cgfwjs-1.quasar-cgfwjs.root.hwx.site:31443/api/atlas/v2/entity/guid/eef4216f-0dc8-485d-9cc3-8ec96cfabf54]

Response:
{code:java}
{
    "referredEntities": {},
    "entity": {
        "typeName": "kafka_topic",
        "attributes": {
            "partitionCountLocal": 0,
            "desiredRetentionInHrs": 0,
            "retentionBytesNational": 0,
            "contactInfo": null,
            "replicatedFrom": null,
            "displayName": null,
            "numberOfEventsPerDay": 0,
            "maxThroughputPerSec": 0,
            "description": "topic_rhgua",
            "retentiontimeLocalInHrs": 0,
            "type": null,
            "avroSchema": [],
            "partitionCount": 1,
            "owner": null,
            "replicatedTo": null,
            "userDescription": null,
            "qualifiedName": "topic_rhgua@cm",
            "segmentBytesNational": 0,
            "partitionCountNational": 0,
            "segmentBytesLocal": 0,
            "uri": "topic_rhgua",
            "replicationFactorNational": 0,
            "avgMessageSizeInBytes": 0,
            "replicationFactorLocal": 0,
            "retentiontimeNationalInHrs": 0,
            "retentionBytesLocal": 0,
            "name": "topic_rhgua",
            "topic": "topic_rhgua",
            "keyClassname": null
        },
        "guid": "eef4216f-0dc8-485d-9cc3-8ec96cfabf54",
        "isIncomplete": false,
        "status": "ACTIVE",
        "createdBy": "kafka",
        "updatedBy": "kafka",
        "createTime": 1641491509705,
        "updateTime": 1641491509705,
        "version": 0,
        "relationshipAttributes": {
            "inputToProcesses": [],
            "pipeline": null,
            "schema": [],
            "kafkaConsumerLineage": null,
            "model": null,
            "kafkaProducerLineage": null,
            "avroSchema": [],
            "meanings": [],
            "outputFromProcesses": []
        },
        "labels": []
    }
}{code}
It has *replicationFactorLocal* and *replicationFactorNational* but does not 
contain *replicationFactor*

It was working fine in the previous successful build:



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (ATLAS-4525) SchemaViolationException should be handled gracefully.

2022-01-06 Thread Dharshana M Krishnamoorthy (Jira)
Dharshana M Krishnamoorthy created ATLAS-4525:
-

 Summary: SchemaViolationException should be handled gracefully.
 Key: ATLAS-4525
 URL: https://issues.apache.org/jira/browse/ATLAS-4525
 Project: Atlas
  Issue Type: Bug
Reporter: Dharshana M Krishnamoorthy


SchemaViolationException should be handled gracefully.

As this is a user error it should throw 400 instead of throwing 500 error

*Repro steps:* 

  Test SchemaViolationException while modifying unique attribute of an entity

    1) Create an entity type with attribute(say attrib_1) that has isUnique set 
to true
    2) Create 2 entities with this type
    3) These 2 entities will now have the attribute attrib_1
    4) Update the value of attrib_1 as attrib_1_value in entity 1 (This is 
succeed)
    5) Update the value of attrib_1 as attrib_1_value in entity 2 ( This will 
fail with SchemaViolationException) and error code 500

Since this is a user error, we need to handle it gracefully and throw bad 
request with the right reason instead of throwing server exception with 500 
error code
   



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (ATLAS-4524) HiveMetaStoreBridge.registerTable() fails when importing hive tables with large columns

2022-01-06 Thread Dharshana M Krishnamoorthy (Jira)
Dharshana M Krishnamoorthy created ATLAS-4524:
-

 Summary: HiveMetaStoreBridge.registerTable() fails when importing 
hive tables with large columns
 Key: ATLAS-4524
 URL: https://issues.apache.org/jira/browse/ATLAS-4524
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Reporter: Dharshana M Krishnamoorthy


*Steps to repro:*
 # Disable hive hook
 # Create a table with 1000 columns
 # Import the table using hive-import command

{code:java}
2022-01-06 13:51:52,329 ERROR - [main:] ~ Import failed for hive_table 
hive_table_tmwos (HiveMetaStoreBridge:503)
org.apache.atlas.hook.AtlasHookException: HiveMetaStoreBridge.registerTable() 
failed.
    at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerTable(HiveMetaStoreBridge.java:559)
    at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importTable(HiveMetaStoreBridge.java:448)
    at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importTables(HiveMetaStoreBridge.java:426)
    at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importDatabases(HiveMetaStoreBridge.java:395)
    at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importDataDirectlyToAtlas(HiveMetaStoreBridge.java:352)
    at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:186)
Caused by: com.sun.jersey.api.client.ClientHandlerException: 
java.net.SocketTimeoutException: Read timed out
    at 
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:155)
    at com.sun.jersey.api.client.Client.handle(Client.java:652)
    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
    at 
com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:634)
    at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:402)
    at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:366)
    at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:352)
    at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:228)
    at org.apache.atlas.AtlasClientV2.createEntity(AtlasClientV2.java:431)
    at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerInstance(HiveMetaStoreBridge.java:575)
    at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerTable(HiveMetaStoreBridge.java:548)
    ... 5 more
Caused by: java.net.SocketTimeoutException: Read timed out
    at java.base/java.net.SocketInputStream.socketRead0(Native Method)
    at 
java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
    at 
java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
    at 
java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)
    at 
java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1104)
    at 
java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:823)
    at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
    at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:292)
    at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:351)
    at 
java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:746)
    at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
    at 
java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1604)
    at 
java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
    at 
java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
    at 
java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:329)
    at 
com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:253)
    at 
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:153)
    ... 16 more {code}
 

Sample query to create a table with 1000 columns :
{code:java}
 "create database hive_db_vxofz; use hive_db_vxofz; create table 
hive_table_tmwos(hive_column_bhngv_1 bigint, hive_column_bhngv_2 boolean, 
hive_column_bhngv_3 varchar(25), hive_column_bhngv_4 smallint, 
hive_column_bhngv_5 bigint, hive_column_bhngv_6 int, hive_column_bhngv_7 int, 
hive_column_bhngv_8 timestamp, hive_column_bhngv_9 float, hive_column_bhngv_10 
float, hive_column_bhngv_11 float, hive_column_bhngv_12 boolean, 
hive_column_bhngv_13 timestamp, hive_column_bhngv_14 boolean, 
hive_column_bhngv_15 bigint, hive_column_bhngv_16 

[jira] [Created] (ATLAS-4523) Build failure on Atlas docs

2022-01-06 Thread Rahul Kurup (Jira)
Rahul Kurup created ATLAS-4523:
--

 Summary: Build failure on Atlas docs
 Key: ATLAS-4523
 URL: https://issues.apache.org/jira/browse/ATLAS-4523
 Project: Atlas
  Issue Type: Bug
Reporter: Rahul Kurup


When 'mvn site'is run to build the Atlas docs, the following error is 
encountered.

{{[ERROR] There was an error loading your config:
[ERROR] 
[ERROR] TypeError: babel.loadOptionsSync is not a function
[ERROR] at exports.transformSync 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
[ERROR] at Function.handleMessage 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
[ERROR] at LocalClient. 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
[ERROR] at LocalClient.transform 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
[ERROR] at compile 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
[ERROR] at compileBabel7 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
[ERROR] at Module._compile 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
[ERROR] at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
[ERROR] at Object.newLoader [as .js] 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
[ERROR] at Module.load (internal/modules/cjs/loader.js:1001:32)
[ERROR] at Function.Module._load (internal/modules/cjs/loader.js:900:14)
[ERROR] at Module.require (internal/modules/cjs/loader.js:1043:19)
[ERROR] at require (internal/modules/cjs/helpers.js:77:18)
[ERROR] at loadFile 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:28:24)
[ERROR] at Object.load 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/load-cfg/dist/index.js:46:27)
[ERROR] at parseConfig 
(/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:728:101)
[ERROR] TypeError: babel.loadOptionsSync is not a function
[ERROR] at exports.transformSync 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/transform.js:87:24)
[ERROR] at Function.handleMessage 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker/handle-message.js:23:16)
[ERROR] at LocalClient. 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:134:86)
[ERROR] at LocalClient.transform 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/worker-client.js:64:47)
[ERROR] at compile 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:58:25)
[ERROR] at compileBabel7 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/@babel/register/lib/hook.js:49:14)
[ERROR] at Module._compile 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:130:29)
[ERROR] at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
[ERROR] at Object.newLoader [as .js] 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/pirates/lib/index.js:141:7)
[ERROR] at Module.load (internal/modules/cjs/loader.js:1001:32)
[ERROR] at Function.Module._load (internal/modules/cjs/loader.js:900:14)
[ERROR] at Module.require (internal/modules/cjs/loader.js:1043:19)
[ERROR] at require (internal/modules/cjs/helpers.js:77:18)
[ERROR] at Function.IgnorePlugin 
(/home/admin/atlaslocal/atlas/docs/target/node_modules/webpack/lib/webpack.js:119:22)
[ERROR] at ignore 
(/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:979:46)
[ERROR] at Bundler.config 
(/home/admin/atlaslocal/atlas/docs/target/docz-lib/docz-core/dist/index.js:1156:3)
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 1
[ERROR] npm ERR! doc@1.0.0 build: `node ./docz-lib/docz/bin/index.js build`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR! 
[ERROR] npm ERR! Failed at the doc@1.0.0 build script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely 
additional logging output above.
[ERROR] 
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR! /home/admin/.npm/_logs/2022-01-06T10_56_45_191Z-debug.log
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time:  01:45 min
[INFO] Finished at: 2022-01-06T16:26:45+05:30
[INFO] 
}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)