You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Gao, Rui-Xian (JIRA)" <ji...@apache.org> on 2016/05/03 16:37:12 UTC

[jira] [Created] (TRAFODION-1967) [offline backup&restore] trafodion is not started automatically without -o option

Gao, Rui-Xian created TRAFODION-1967:
----------------------------------------

             Summary: [offline backup&restore] trafodion is not started automatically without -o option
                 Key: TRAFODION-1967
                 URL: https://issues.apache.org/jira/browse/TRAFODION-1967
             Project: Apache Trafodion
          Issue Type: Bug
          Components: db-utility-backup-restore
         Environment: Centos6.7 hbase1.0 CDH5.4.4
esgynDBadv-0430 build
            Reporter: Gao, Rui-Xian
            Priority: Minor


During backup, the output is like this --

Starting Trafodion...
sudo: unknown user: Trafodion
sudo: unable to initialize policy plugin
Trafodion not started. Please start Trafodion at your convinience.
********************************************************************

trafodion user is hardcoded to 'Trafodion' in backup_restore_functions.sh, we should use either 'trafodion' or a variable instead.

************************************************
  trafodion_user="Trafodion"
    echo "Trafodion user name: $trafodion_user"  | tee -a ${log_file}
  else
    echo "***[ERROR]: Did not find supported Hadoop distribution or $MY_SQROOT is not set."
    return 1
  fi





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)