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 9226C200ABE for ; Fri, 20 May 2016 13:10:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 91063160A0E; Fri, 20 May 2016 11:10:14 +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 13E01160A24 for ; Fri, 20 May 2016 13:10:13 +0200 (CEST) Received: (qmail 32447 invoked by uid 500); 20 May 2016 11:10:13 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 32370 invoked by uid 99); 20 May 2016 11:10:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 11:10:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 178662C1F6A for ; Fri, 20 May 2016 11:10:13 +0000 (UTC) Date: Fri, 20 May 2016 11:10:13 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SPARK-15445) Build fails for java 1.7 after adding java.math.BigInteger support [SPARK-11827][SQL] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 May 2016 11:10:14 -0000 [ https://issues.apache.org/jira/browse/SPARK-15445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-15445: ------------------------------------ Assignee: (was: Apache Spark) > Build fails for java 1.7 after adding java.math.BigInteger support [SPARK-11827][SQL] > ------------------------------------------------------------------------------------- > > Key: SPARK-15445 > URL: https://issues.apache.org/jira/browse/SPARK-15445 > Project: Spark > Issue Type: Bug > Components: SQL > Environment: java 1.7 > Reporter: Piotr Milanowski > Priority: Blocker > > Hi, > I am building branch-2.0. The build fails with this message: > {code} > [error] spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/Decimal.scala:137: value longValueExact is not a member of java.math.BigInteger > [error] this.longVal = bigintval.longValueExact() > [error] ^ > [error] one error found > {code} > This seems to be a problem with java versions. In java 1.7 there is no method java.math.BigInteger.longValueExact(). > A quick fix is changing longValueExact() to longValue() -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org