ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7254) Views : Slider view not initializing due to long parameter description
Date Wed, 17 Sep 2014 15:14:34 GMT

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

Hudson commented on AMBARI-7254:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #275 (See [https://builds.apache.org/job/Ambari-trunk-Commit/275/])
AMBARI-7254 - Slider View: Slider view not initializing due to long parameter description
(tbeerbower: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c46d4916abc8775d6ad8c6446a6d640005458ac6)
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog170.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql


> Views : Slider view not initializing due to long parameter description
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-7254
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7254
>             Project: Ambari
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Tom Beerbower
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7254.patch
>
>
> Slider view was not initializing because the description of one of the parameters was
greater than 255 characters.  
> Exception:
> {code}
> Caused by: java.sql.BatchUpdateException: Batch entry 0 INSERT INTO viewparameter (name,
DESCRIPTION, MASKED, REQUIRED, view_name) VALUES ('zookeeper.quorum', 'ZooKeeper quorum location.
Typically this is a comma separated list of ZooKeeper hostnames and port numbers. The port
number can be got from the clientPort property in the zookeeper-env configuration. For example:
zookeeper.host1:2181,zookeeper.host2:2181.', 'N', 'N', 'SLIDER{1.0.0}') was aborted.  Call
getNextException to see the cause.
>         at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2740)
>         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1891)
>         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
>         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2889)
>         at org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.executeBatch(DatabasePlatform.java:2127)
>         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeJDK12BatchStatement(DatabaseAccessor.java:871)
> {code}
> {code}
> 01:40:54,010 ERROR [pool-1-thread-3] AmbariJpaLocalTxnInterceptor:122 - [DETAILED ERROR]
Internal exception (2) :
> org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255)
>         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161)
>         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890)
>         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
>         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2889)
>         at org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.executeBatch(DatabasePlatform.java:2127)
>         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeJDK12BatchStatement(DatabaseAccessor.java:871)
>         at org.eclipse.persistence.internal.databaseaccess.ParameterizedSQLBatchWritingMechanism.executeBatchedStatements(ParameterizedSQLBatchWritingMechanism.java:145)
>         at org.eclipse.persistence.internal.databaseaccess.ParameterizedSQLBatchWritingMechanism.appendCall(ParameterizedSQLBatchWritingMechanism.java:88)
>         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:571)
>         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:537)
>         at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1800)
> {code}



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

Mime
View raw message