Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

HAWQ-1061. Add check_sizes_valid for all mode of hawq register. #919

Closed
wants to merge 2 commits into from

Conversation

xunzhang
Copy link
Member

No description provided.

@xunzhang
Copy link
Member Author

cc @ictmalili @linwen

hdfscmd = 'hdfs dfs -du %s' % fn
_, out, _ = local_ssh_output(hdfscmd)
if self.sizes[k] > int(out.strip().split()[0]):
logger.error('Incorrect filesize %s in yaml of file %s: out of range %s' % (self.sizes[k], fn, out.strip().split()[0]))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File size(%s) in yaml configuration file should not exceed actual length(%s) of file %s

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ictmalili done

@xunzhang
Copy link
Member Author

also cc @stanlyxiang

@stanlyxiang
Copy link
Member

+1

@ictmalili
Copy link
Contributor

+1

@xunzhang
Copy link
Member Author

Merged into master.

@xunzhang xunzhang closed this Sep 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants