Github user linwen commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/966#discussion_r83791311 --- Diff: tools/bin/hawqregister --- @@ -498,7 +498,10 @@ class HawqRegister(object): hdfscmd = 'hadoop fs -du %s' % fn _, out, _ = local_ssh_output(hdfscmd) if self.sizes[k] > int(out.strip().split()[0]): - logger.error('File size(%s) in yaml configuration file should not exceed actual length(%s) of file %s.' % (self.sizes[k], out.strip().split()[0], fn)) + if self.mode == 'usage1': + logger.error('Specified file size(%s) should not exceed actual length(%s) of file %s.' % (self.sizes[k], out.strip().split()[0], fn)) + else: + logger.error('File size(%s) in yaml configuration file should not exceed actual length(%s) of file % s.' % (self.sizes[k], out.strip().split()[0], fn)) --- End diff -- thank you!
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---