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 2023517E34 for ; Mon, 2 Feb 2015 17:35:39 +0000 (UTC) Received: (qmail 30405 invoked by uid 500); 2 Feb 2015 17:35:35 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 30366 invoked by uid 500); 2 Feb 2015 17:35:35 -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 30354 invoked by uid 99); 2 Feb 2015 17:35:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 17:35:34 +0000 Date: Mon, 2 Feb 2015 17:35:34 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8715) Possible Deadlock in Cqlsh in a Kerberos-enabled environment when using "COPY ... FROM ..." MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8715?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-8715: ---------------------------------------- Priority: Minor (was: Critical) > Possible Deadlock in Cqlsh in a Kerberos-enabled environment when using "= COPY ... FROM ..." > -------------------------------------------------------------------------= ------------------ > > Key: CASSANDRA-8715 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8715 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 2.1.2.160, cqlsh 5.0.1, Native protocol v3 > Reporter: Eduard Tudenhoefner > Assignee: Tyler Hobbs > Priority: Minor > Labels: cqlsh > Fix For: 2.1.3 > > > When running a COPY ... FROM ... command in a Kerberos environment, I see= the number of rows processed, but eventually, Cqlsh never returns. I can v= erify, that all the data was copied, but the progress bar shows me the last= shown info and cqlsh hangs there and never returns. > Please note that this issue did *not* occur in the exact same environment= with *Cassandra 2.0.12.156*. > With the help of Tyler Hobbs, I investigated the problem a little bit fur= ther and added some debug statements at specific points. For example, in th= e CountdownLatch class at https://github.com/apache/cassandra/blob/a323a1a6= d5f28ced1a51ba559055283f3eb356ff/pylib/cqlshlib/async_insert.py#L35-L36 I c= an see that the counter always stays above zero and therefore never returns= (even when the data to be copied is already copied). > I've also seen that somehow when I type in one cqlsh command, there will = be actually two commands. Let me give you an example: > I added a debug statement just before https://github.com/apache/cassandra= /blob/d76450c7986202141f3a917b3623a4c3138c1094/bin/cqlsh#L920 > {code} > cqlsh> use libdata ;=E2=80=A8 > 2015-01-30 18:54:56,113 [DEBUG] root: STATEMENT: [('K_USE', 'use', (0, 3)= ), ('identifier', 'libdata', (4, 11)), ('endtoken', ';', (12, 13))]=E2=80= =A8 > 2015-01-30 18:54:56,113 [DEBUG] root: STATEMENT: [('K_USE', 'use', (0, 3)= ), ('identifier', 'libdata', (4, 11)), ('endtoken', ';', (12, 13))] > {code} > and saw that all commands I enter, they end up being executed twice (same= goes for the COPY command). > If I can provide any other input for debugging purposes, please let me kn= ow. -- This message was sent by Atlassian JIRA (v6.3.4#6332)