Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 616F6200C44 for ; Mon, 13 Mar 2017 00:37:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 600A9160B87; Sun, 12 Mar 2017 23:37:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ABA1C160B77 for ; Mon, 13 Mar 2017 00:37:08 +0100 (CET) Received: (qmail 77097 invoked by uid 500); 12 Mar 2017 23:37:07 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 77088 invoked by uid 99); 12 Mar 2017 23:37:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Mar 2017 23:37:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5FF7C1A0821 for ; Sun, 12 Mar 2017 23:37:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Wb9t1kZ4q0IU for ; Sun, 12 Mar 2017 23:37:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 828EE5FAE6 for ; Sun, 12 Mar 2017 23:37:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A65C3E026E for ; Sun, 12 Mar 2017 23:37:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 523AD24369 for ; Sun, 12 Mar 2017 23:37:04 +0000 (UTC) Date: Sun, 12 Mar 2017 23:37:04 +0000 (UTC) From: "Ishan Bhatt (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-20409) Hue Migration View Giving error while migrating Pig Jobs in Postgres DB MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 12 Mar 2017 23:37:09 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ishan Bhatt updated AMBARI-20409: --------------------------------- Attachment: (was: AMBARI-20409.patch) > Hue Migration View Giving error while migrating Pig Jobs in Postgres DB > ----------------------------------------------------------------------- > > Key: AMBARI-20409 > URL: https://issues.apache.org/jira/browse/AMBARI-20409 > Project: Ambari > Issue Type: Bug > Components: ambari-views > Reporter: Ishan Bhatt > Assignee: Ishan Bhatt > Fix For: trunk, 2.5.0 > > > While Migrating pig Job > Error displayed:- > {code} > SQL Exception: ERROR: column "ds_inprogress" is of type boolean but expression is of type integer Hint: You will need to rewrite or cast the expression. Position: 46 > {code} > Log:- > {code} > 0 Mar 2017 12:00:38,477 INFO [Thread-64] PigJobMigrationUtility:139 - Loop No.1 > 10 Mar 2017 12:00:38,477 INFO [Thread-64] PigJobMigrationUtility:140 - ________________ > 10 Mar 2017 12:00:38,477 INFO [Thread-64] PigJobMigrationUtility:141 - the title of script describeSchema > 10 Mar 2017 12:00:38,501 ERROR [Thread-64] PigJobMigrationUtility:191 - sql exception in ambari database: > org.postgresql.util.PSQLException: ERROR: column "ds_inprogress" is of type boolean but expression is of type integer > Hint: You will need to rewrite or cast the expression. > Position: 46 > at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062) > at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795) > at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) > at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) > at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367) > at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:321) > at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105) > at org.apache.ambari.view.huetoambarimigration.migration.pig.pigjob.PigJobMigrationImplementation.insertRowPigJob(PigJobMigrationImplementation.java:204) > at org.apache.ambari.view.huetoambarimigration.migration.pig.pigjob.PigJobMigrationUtility.pigJobMigration(PigJobMigrationUtility.java:155) > at org.apache.ambari.view.huetoambarimigration.migration.pig.pigjob.PigJobStartJob.run(PigJobStartJob.java:59) > 10 Mar 2017 12:00:38,503 INFO [Thread-64] PigJobMigrationUtility:195 - roll back done > 10 Mar 2017 12:00:38,510 INFO [Thread-64] PigJobMigrationUtility:225 - ------------------------------ > 10 Mar 2017 12:00:38,510 INFO [Thread-64] PigJobMigrationUtility:226 - pig Job Migration End > 10 Mar 2017 12:00:38,510 INFO [Thread-64] PigJobMigrationUtility:227 - ------------------------------ > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)