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

single colon in logical file names


    • Type: Bug
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.6.8
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      Boca Prod


      An ECLUser renamed numerous logicals, where a single colon was used, like:

      This was causing it to write down to the filesystem as:

      The %3A was making it where the file couldn't be renamed via IDE/Eclwatch unless I renamed the file directly on the filesystem to %3a. Just to share, I was able to rename via this bit of bash:
      for BADNAME in /var/lib/HPCCSystems/hpcc-mirror/thor/thor_data400/key/aid/20170321%3Arawaid_to_acecahe* ; do mv $BADNAME ${BADNAME/%3A/%3a}; done

      For example, in Eclwatch, with it being %3A, it was breaking the Logical File, "View Data File". Causing it to error with:

      Message:2017-05-01 18:09:57 GMT: Could not open key file at // or any alternate location.

      Once the %3a rename was done, the logical could be renamed via IDE/Eclwatch.

      Please either sanitize inputs and disallow single colon's, or at least write out single colons as %3a to not break functionality.




            • Assignee:
              attilavamos Attila Vamos
              rwagner42 Russell Wagner
            • Votes:
              0 Vote for this issue
              6 Start watching this issue


              • Created: