Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-1113

In force mode, hawq register error when files in yaml is disordered

    XMLWordPrintableJSON

Details

    Description

      In force mode, hawq register error when files in yaml is in disordered. For example, the files order in yaml is as following:

        Files:
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_OLD@/2
          size: 250
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_OLD@/4
          size: 250
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_OLD@/5
          size: 258
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_OLD@/6
          size: 270
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_OLD@/3
          size: 258
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_NEW2@/1
          size: 228
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_NEW@/2
          size: 215
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_NEW@/3
          size: 215
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_NEW@/4
          size: 220
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_OLD@/1
          size: 254
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_NEW@/6
          size: 215
        - path: /hawq_default/16385/@DATABASE_OID@/@TABLE_OID_NEW@/5
          size: 210
      

      After hawq register success, we select data from table and get the error:

      ERROR:  hdfs file length does not equal to metadata logic length! (cdbdatalocality.c:1102)
      

      Attachments

        Issue Links

          Activity

            People

              wcl14 Chunling Wang
              wcl14 Chunling Wang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: