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

backupnode logging to single file on thorslaves

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0.0, 5.6.0
    • Fix Version/s: 6.0.2
    • Component/s: BackUpNode
    • Labels:
      None

      Description

      On builds from 5.6 up to 6.0 rc4, I’m seeing a bug with how backupnode logs on the thorslaves. It works as expected on the thormaster, but on all slaves, it writes to a single file every time. So the next time it runs, it stomps on the log and writes to the same file.

      E.g. On the thormaster, I kick off:

      /bin/su - hpcc -c "/opt/HPCCSystems/bin/start_backupnode $THOR"

      Over the course of testing serveral builds, I successfully ran backupnode 4 times.

      I see it correctly make a timestamped log file on the master, every time backupnode ran:

      [root@russell_mw:russell010144043005 backupnode]$ pwd
      /var/log/HPCCSystems/backupnode
      [root@russell_mw:russell010144043005 backupnode]$ ls -l
      total 16
      rw-rw-r- 1 hpcc hpcc 2286 May 17 09:26 backupnode_2016_05_17_09_26_33.log
      rw-rw-r- 1 hpcc hpcc 2286 May 17 09:27 backupnode_2016_05_17_09_27_35.log
      rw-rw-r- 1 hpcc hpcc 2286 May 17 10:32 backupnode_2016_05_17_10_32_40.log
      rw-rw-r- 1 hpcc hpcc 2286 May 17 10:33 backupnode_2016_05_17_10_33_10.log

      However on each of the thorslaves, it writes to a single file every time:

      [wagnerrh@russell_thor:russell010144043006 backupnode]$ pwd
      /var/log/HPCCSystems/backupnode
      [wagnerrh@russell_thor:russell010144043006 backupnode]$ ls -l
      total 4
      rw-rw-r- 1 hpcc hpcc 67 May 17 10:33 backup_node1.log
      [wagnerrh@russell_thor:russell010144043006 backupnode]$ cat backup_node1.log
      00000000 2016-05-17 10:33:10.959 26290 26290 "backupnode finished"

        Attachments

          Activity

            People

            • Assignee:
              Michael-Gardner Michael Gardner
              Reporter:
              rwagner42 Russell Wagner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: