Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BD1C117C14 for ; Wed, 8 Oct 2014 16:06:34 +0000 (UTC) Received: (qmail 51891 invoked by uid 500); 8 Oct 2014 16:06:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 51831 invoked by uid 500); 8 Oct 2014 16:06:34 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 51655 invoked by uid 99); 8 Oct 2014 16:06:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2014 16:06:34 +0000 Date: Wed, 8 Oct 2014 16:06:34 +0000 (UTC) From: "Timo Beckers (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8083) OpenJDK 6 Dependency in dsc20 RPM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14163659#comment-14163659 ] Timo Beckers commented on CASSANDRA-8083: ----------------------------------------- Hey Michael Thanks for the explanation, makes a lot of sense. Picking a package at random is not how Yum should handle this. On the other hand, the 'oops' case is why dependency resolution and package management exist in the first place. The landscape is definitely in a weird spot right now because OpenJDK is really taking off, along with the fact that a lot of apps are transitioning to Java7 at the same time. As you suggested and applied in dsc21, removing the Java dependency altogether would be the perfect solution for me. The user should be in complete control over their Java stack, especially in complex environments. Cheers! > OpenJDK 6 Dependency in dsc20 RPM > --------------------------------- > > Key: CASSANDRA-8083 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8083 > Project: Cassandra > Issue Type: Bug > Components: Packaging > Environment: Packages pulled from the community repo at http://rpm.datastax.com/community as per the installation guidelines. > Reporter: Timo Beckers > Assignee: Michael Shuler > Priority: Minor > Fix For: 2.0.10 > > Original Estimate: 1h > Remaining Estimate: 1h > > According to https://issues.apache.org/jira/browse/CASSANDRA-6925 and https://issues.apache.org/jira/browse/CASSANDRA-7243, the Cassandra project only produces platform-agnostic .tar.gz. The person in the second ticket was referred to https://support.datastax.com/home to report RPM issues, but this ticketing system requires a login to post and registration is not open. I realize this is not the right issue tracker to post this on, but I hope to reach the community repo maintainer through this one. > The problem I'm facing only seems to occur for the 'cassandra20' package from the Datastax community repo. On a fresh CentOS installation with no prior Java stack installed: > # yum install dsc20 > Installing: > dsc20 > Installing for dependencies: > java-1.6.0-openjdk > ... > cassandra20 > This inevitably results in the following log message: > "Cassandra 2.0 and later require Java 7 or later." > and sometimes > "Unsupported major.minor version 51.0" > The issue seems to be with the 'cassandra20' package that depends on openjdk6. I noticed the same behaviour with dsc21 a couple weeks ago, but this seems to be fixed already. Could you please take a look or assign this to a person who could? -- This message was sent by Atlassian JIRA (v6.3.4#6332)