Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1889

Impala failed to load metadata for table,after config namenode HA

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: Impala 2.0
    • Fix Version/s: None
    • Component/s: Clients
    • Labels:
    • Environment:
      OS: RHEL6.5 CDH5.2.0 Impala:2.0.0

      Description

      I can not select anything in impala-shell after have been config namenode HA.
      But I can create new table in impala,just can not select old table.
      When I select that will show something error.

      [rl-hadoop2:21000] > select * from tab3;
      Query: select * from tab3
      ERROR: AnalysisException: Failed to load metadata for table: default.tab3
      CAUSED BY: TableLoadingException: Failed to load metadata for table: tab3
      CAUSED BY: CatalogException: Failed to create partition:
      CAUSED BY: IllegalArgumentException: Wrong FS: hdfs://rl-hadoop1:8020/user/hive/warehouse/tab3, expected: hdfs://nameservice1

      I also can't desc table in impala. Once I tried REFRESH and INVALIDATE METADATA,but nothing to do. I think that the impala of hdfs url was wrong.
      Who can help me?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lueliu lueliu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: