Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-7741

Impala editor: Kudu warnings not displayed


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Information Provided
    • Affects Version/s: 4.1.0
    • Fix Version/s: None
    • Component/s: con.impala
    • Labels:
    • Environment:

      CDH 5.13
      Browsing with Firefox


      When inserting data into a Kudu table in Impala, Kudu warnings are not being shown.

      If I run Impala shell, and I try to insert a new row that has null for a primary key column, I get an error like this:

      insert into test1 values (NULL,"test","test");
      WARNINGS: Row with null value violates nullability constraint on table 'impala::default.test1'.

      But when I do the same command using the Hue Impala query editor, the command fails silently. No warning message, no indication that the command failed except that the data didn't get inserted.

      Similar happens if I try to insert a row with a duplicate primary key. In Impala-shell, I get a warning:

      insert into test1 value ("a","test","test");
      WARNINGS: Key already present in Kudu table 'impala::default.test1'.

      In Hue, silent failure.

      In general, Kudu errors and failures are not being shown in Hue.

      To reproduce, create a simple table like so:

      create table test1
      (k1 string,
       k2 string,
       c3 string,
       primary key(k1))
       partition by hash
       stored as kudu;




            • Assignee:
              romain Romain Rigaux
              dcarroll@cloudera.com Diana Carroll
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: