Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Kill Atlas API session after import command is completed

avatar
Super Collaborator

Hello,

 

I am working on importing multiple Atlas entities using Atlas API calls. After completing execution of each curl command, the message I get is "connection is left intact". Is there a way to kill / terminate this connection to Atlas server?

 

Thanks

snm1523

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Hello @snm1523 

Add Connection: close header to your curl requests to ensure the connection is closed after each request.

Alternatively, use --no-keepalive in the curl command to prevent persistent connections.

If necessary, adjust server settings to force connections to close after each request.

 

View solution in original post

1 REPLY 1

avatar
Expert Contributor

Hello @snm1523 

Add Connection: close header to your curl requests to ensure the connection is closed after each request.

Alternatively, use --no-keepalive in the curl command to prevent persistent connections.

If necessary, adjust server settings to force connections to close after each request.