Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-20110

ecl packagemap activate/add commands to return a status code other than 0 on exception

    XMLWordPrintable

Details

    • Bug
    • Status: Scheduled
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • ecl command
    • None
    • Minor

    Description

      ecl packagemap add/activate returns a status code "0" when there is an exception thrown on the server side. Anyway we can make the command return a status other than 0?

      example below.

       

      ecl packagemap add -v roxie_bair_dr_02 --daliip=1.1.1.185 /home/svc-deployment/package/deployment/auto/bair/dr/archive/bair_20180717133137.pkg -s 10.240.160.25 -u=svc-bair-deploy -pw=xxxxxxx

       

      ... adding package map /home/svc-deployment/package/deployment/auto/bair/dr/archive/bair_20180717133137.pkg now

       

       

      Exception(s):

      7: DFS Exception: 7: Timeout connecting to Dali Server on 1.1.1.185:7070

       

      svc-deployment@bair-analytics-prod-deployment-server01:~/package/deployment/bin$ echo $?

      0

      Attachments

        Activity

          People

            afishbeck Anthony Fishbeck
            anandjun Anantha Venkatachalam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: