You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@apex.apache.org by "Mukkamula, Suryavamshivardhan (CWM-NR)" <su...@rbc.com> on 2017/03/30 17:48:44 UTC
Rest call to Data Torrent package deploy failing
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.
Re: Rest call to Data Torrent package deploy failing
Posted by Amol Kekre <am...@datatorrent.com>.
Surya,
Moving users@apex to bcc. Do take this up on dt-users google group.
Thks
Amol
E:amol@datatorrent.com | M: 510-449-2606 | Twitter: @*amolhkekre*
www.datatorrent.com
*Join us at Apex Big Data World Mt View
<http://www.apexbigdata.com/mountain-view.html>, April 4, 2017!*
[image: http://www.apexbigdata.com/san-jose-register.html]
<http://www.apexbigdata.com/san-jose-register.html>
On Thu, Mar 30, 2017 at 10:59 AM, Vlad Rozov <v....@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
> <http://www.apexbigdata.com/san-jose.html>, April 4, 2017*
> [image: http://www.apexbigdata.com/san-jose-register.html]
> <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.
>
>
>
Re: Rest call to Data Torrent package deploy failing
Posted by Vlad Rozov <v....@datatorrent.com>.
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
<http://www.apexbigdata.com/san-jose.html>, April 4, 2017/
http://www.apexbigdata.com/san-jose-register.html
<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.
>