hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhangh43 <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-760. Add hawq register to suppor...
Date Fri, 27 May 2016 17:18:59 GMT
Github user zhangh43 commented on the pull request:

    https://github.com/apache/incubator-hawq/pull/679#issuecomment-222203807
  
    The main hawq register steps are as follows:
    get_files_in_hdfs(filepath)
    check_parquet_format(options, files)
    firstsegno = get_metadata_from_database(options, databasename, seg_name)
    move_files_in_hdfs(options, databasename, tablename, files, firstsegno, True)
    insert_metadata_into_database(options, databasename, tablename, seg_name, firstsegno,
sizes)
    
    I have a question what will happen when one of some steps fails. E.g. hdfs files have
been moved, but insert metadata failed, should we restore the moved data? 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message