Re: Rest call to Data Torrent package deploy failing

2 views
Skip to first unread message

Amol Kekre

unread,
Mar 30, 2017, 2:14:00 PM3/30/17
to DataTorrent Users Group

Surya,
Moving users@apex to bcc. Do take this up on dt-users google group.

Thks
Amol



E:am...@datatorrent.com | M: 510-449-2606 | Twitter: @amolhkekre

www.datatorrent.com

Join us at Apex Big Data World Mt View, April 4, 2017!
http://www.apexbigdata.com/san-jose-register.html

On Thu, Mar 30, 2017 at 10:59 AM, Vlad Rozov <v.r...@datatorrent.com> wrote:
Hi Surya,

This mailing list covers only Apache Apex questions. For questions related to a specific vendor distribution or vendor products, please contact corresponding vendor. In this particular case, please raise Datatorrent support ticket or contact Datatorrent.

Thank you,

Vlad

Join us at Apex Big Data World-San Jose, April 4, 2017
http://www.apexbigdata.com/san-jose-register.html
On 3/30/17 10:48, Mukkamula, Suryavamshivardhan (CWM-NR) wrote:
Hi,
 
Can you please check when will I get the below error message in yellow ,I am trying to login to Data Torrent through rest call and deploying the package.
 
[XXXXXX@XXXXXX254 DEV-Titan]$ logCurlOut=$(curl -k -iX POST -H "Content-Type: application/json" -d @userpass.json https://XXXXXX1254.devfg.rbc.com:9090/ws/v2/login)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   135    0    76  100    59   1134    880 --:--:-- --:--:-- --:--:--  1288
[XXXXXX@XXXXXX254 DEV-Titan]$ substring1=$(echo $logCurlOut| cut -d'=' -f 2)
[XXXXXX@XXXXXX254 DEV-Titan]$ substring2=$(echo $substring1| cut -d';' -f 1)
[XXXXXX@XXXXXX254 DEV-Titan]$ postCurlResp=$(curl -k -iX POST -T modified.apa -H "Cookie: session=$substring2; Content-Type: application/octet-stream" https://XXXXXX1254.devfg.rbc.com:9090/ws/v2/appPackages?merge=replace)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 31.5M    0     2    0 81920     62  2516k  0:00:12 --:--:--  0:00:12 3200k
[XXXXXX@XXXXXX254 DEV-Titan]$ echo $postCurlResp
{}ansfer-Encoding: chunkedjson9 GMT
 
Regards,
Surya Vamshi
 
 
 

_______________________________________________________________________

If you received this email in error, please advise the sender (by return email or otherwise) immediately. You have consented to receive the attached electronically at the above-noted email address; please retain a copy of this confirmation for future reference.

Si vous recevez ce courriel par erreur, veuillez en aviser l'expéditeur immédiatement, par retour de courriel ou par un autre moyen. Vous avez accepté de recevoir le(s) document(s) ci-joint(s) par voie électronique à l'adresse courriel indiquée ci-dessus; veuillez conserver une copie de cette confirmation pour les fins de reference future.



Mukkamula, Suryavamshivardhan (CWM-NR)

unread,
Mar 30, 2017, 2:27:48 PM3/30/17
to dt-u...@googlegroups.com
Hi,
 
Can you please check when will I get the below response message in yellow ,I am trying to login to Data Torrent through rest call and deploying the package.
 
[XXXXXX@XXXXXX254 DEV-Titan]$ logCurlOut=$(curl -k -iX POST -H "Content-Type: application/json" -d @userpass.json https://XXXXXX.devfg.com:9090/ws/v2/login)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   135    0    76  100    59   1134    880 --:--:-- --:--:-- --:--:--  1288
[XXXXXX@XXXXXX254 DEV-Titan]$ substring1=$(echo $logCurlOut| cut -d'=' -f 2)
[XXXXXX@XXXXXX254 DEV-Titan]$ substring2=$(echo $substring1| cut -d';' -f 1)
[XXXXXX@XXXXXX254 DEV-Titan]$ postCurlResp=$(curl -k -iX POST -T modified.apa -H "Cookie: session=$substring2; Content-Type: application/octet-stream" https://XXXXXX.devfg.com:9090/ws/v2/appPackages?merge=replace)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 31.5M    0     2    0 81920     62  2516k  0:00:12 --:--:--  0:00:12 3200k
[XXXXXX@XXXXXX254 DEV-Titan]$ echo $postCurlResp
{}ansfer-Encoding: chunkedjson9 GMT
 
Regards,
Surya Vamshi
 
 
 
 
Reply all
Reply to author
Forward
0 new messages