You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/05/26 21:43:13 UTC

[jira] [Commented] (AMBARI-16428) Hive view : Upload table view throws exception but does not shows what is wrong with the submitted table creation.

    [ https://issues.apache.org/jira/browse/AMBARI-16428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302994#comment-15302994 ] 

Hadoop QA commented on AMBARI-16428:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12805850/AMBARI-16428_branch-2.4.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in contrib/views/hive.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/6979//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/6979//console

This message is automatically generated.

> Hive view : Upload table view throws exception but does not shows what is wrong with the submitted table creation.
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-16428
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16428
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.2.2
>            Reporter: Nitiraj Singh Rathore
>            Assignee: Nitiraj Singh Rathore
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16428_branch-2.4.patch, Screen Shot 2016-04-18 at 2.52.37 PM.png, Screen Shot 2016-04-18 at 2.53.08 PM.png
>
>
> For the following validation errors, Upload table view shows HiveClientFormattedException
> 1. Column datatype is set to char, but precision is not set.
> 2. Table name is not valid (has characters like '-')
> 3. Creating a table with duplicate table name.
> 4. When column name is missing in xml tag
> No validation error is shown in this case. 
> PFA screenshot.
> For #3, When creating a table with duplicate name on hive query tab shows proper error "Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. AlreadyExistsException(message:Table data3 already exists)"
> The same on Upload Table just shows "HiveClientFormattedException"
> For#4 When column name is missing in the xml, hive view log shows exception " java.lang.IllegalArgumentException: Missing name attribute in col tag.java.lang.IllegalArgumentException: Missing name attribute in col tag." But Upload table UI shows :
> org.apache.ambari.view.hive.utils.ServiceFormattedException
> at org.apache.ambari.view.hive.resources.uploads.UploadService.uploadIntoTable(UploadService.java:282)
> at org.apache.ambari.view.hive.resources.uploads.UploadService.uploadFileFromStream(UploadService.java:401)
> at org.apache.ambari.view.hive.resources.uploads.UploadService.uploadFile(UploadService.java:212)
> at sun.reflect.GeneratedMethodAccessor1233.invoke(Unknown Source)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)