mirror of
https://github.com/newnius/YAO-Dockerfiles.git
synced 2025-12-16 18:36:45 +00:00
update, exit with real exitCode
This commit is contained in:
@@ -15,6 +15,6 @@ if __name__ == '__main__':
|
||||
client = Client(hdfs_address)
|
||||
client.upload(hdfs_dir, output_dir)
|
||||
|
||||
print('Save ' + output_dir + 'to' + hdfs_address + ' ' + hdfs_dir)
|
||||
print('Save ' + output_dir + ' to' + hdfs_address + ' ' + hdfs_dir)
|
||||
except Exception as e:
|
||||
print('Unable to persist data to HDFS,', str(e))
|
||||
|
||||
Reference in New Issue
Block a user