From user-return-21025-archive-asf-public=cust-asf.ponee.io@flink.apache.org Tue Jul 3 16:25:31 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2EB00180632 for ; Tue, 3 Jul 2018 16:25:29 +0200 (CEST) Received: (qmail 18785 invoked by uid 500); 3 Jul 2018 14:25:28 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 18769 invoked by uid 99); 3 Jul 2018 14:25:28 -0000 Received: from mail-relay.apache.org (HELO mailrelay2-lw-us.apache.org) (207.244.88.137) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2018 14:25:28 +0000 Received: from [192.168.178.63] (dslb-002-205-087-046.002.205.pools.vodafone-ip.de [2.205.87.46]) by mailrelay2-lw-us.apache.org (ASF Mail Server at mailrelay2-lw-us.apache.org) with ESMTPSA id 23204469; Tue, 3 Jul 2018 14:25:26 +0000 (UTC) Subject: Re: Issues with Flink1.5 SQL-Client To: Ashwin Sinha , Chesnay Schepler References: <9f37962d-4970-e4e4-6250-4fd176b22043@apache.org> <63e110ab-cd2c-df98-7bff-9e8f4922f518@apache.org> Cc: user From: Timo Walther Message-ID: <54633fcb-6b8b-2dd0-e6ab-d374dc268b75@apache.org> Date: Tue, 3 Jul 2018 16:25:25 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------2F9B9D1AD3B43AA44C0D4438" This is a multi-part message in MIME format. --------------2F9B9D1AD3B43AA44C0D4438 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Great to hear! Timo Am 03.07.18 um 16:16 schrieb Ashwin Sinha: > Hi Chesnay, > > We got the issue. Thanks for pointing out the issue. By mistake it was > running the 1.3.2 jobmanager version, and now moved to 1.5.0 and > working smooth. Will be careful from next time. > > Thanks for all the support and help! > > On Tue, Jul 3, 2018 at 7:30 PM Chesnay Schepler > wrote: > > Can you provide us with the JobManager logs? > > Based on the exception i concur with Timo, it looks like the > server is either running 1.4 or below, or was started in the > legacy mode. > > On 03.07.2018 15:42, Ashwin Sinha wrote: >> Hi Timo, >> >> Our flink version is 1.5.0 >> >> We followed this >>  documentation >> and started flink cluster same way. Also we are getting more logs >> https://pastebin.com/fGTW9s2b >> >> On Tue, Jul 3, 2018 at 7:01 PM Timo Walther > > wrote: >> >> Hi Ashwin, >> >> which Flink version is your (local cluster)? Are you >> executing Flink in the default (new deployment) or legacy >> mode? The SQL client supports only the new "FLIP-6" >> deployment model. I'm not sure about your error message but >> it might be related to that. >> >> Regards, >> Timo >> >> >> Am 03.07.18 um 14:42 schrieb Ashwin Sinha: >>> Hi folks, >>> >>> We are trying to setup flink sql client >>> . It >>> is still in development phase, but flink-1.5 contains beta >>> version of this feature. >>> >>> _Our environment:_ >>> * >>> Kafka- >>> *Topic: test_flink_state_check >>> Kafka Key: null >>> Kafka Value example: {"state": 299, "number": 299} >>> >>> *Flink-* >>> Jobmanager: http://localhost:8080/ >>> conf/sql-client-defaults.yaml: https://pastebin.com/zGb3qs7E >>> >>> Then we start sql-client shell by >>> |./bin/sql-client.sh embedded| >>> >>> >>> When we run >>> select * from [tablename] >>> the result shell hangs and after sometime it exits without >>> printing any data and give following error on screen: >>> https://pastebin.com/wuitQx1a >>> >>> Complete stacktrace in flink logs: https://pastebin.com/mgk06xeG >>> >>> Please assist us in resolving this! >>> >>> -- >>> *Ashwin Sinha *| Data Engineer >>> ashwin.sinha@go-mmt.com  | >>> 9452075361 >>> >>> 2nd floor, Tower B Divyashree >>> Technopolis Yemalur, Bangalore, Karnataka 560037, India >>> >>> >>> >>> ::DISCLAIMER:: >>> >>> ---------------------------------------------------------------------------------------------------------------------------------------------------- >>> >>> >>> This message is intended only for the use of the addressee >>> and may contain information that is privileged, confidential >>> and exempt from disclosure under applicable law. If the >>> reader of this message is not the intended recipient, or the >>> employee or agent responsible for delivering the message to >>> the intended recipient, you are hereby notified that any >>> dissemination, distribution or copying of this communication >>> is strictly prohibited. If you have received this e-mail in >>> error, please notify us immediately by return e-mail and >>> delete this e-mail and all attachments from your system. >>> >> >> >> >> -- >> *Ashwin Sinha *| Data Engineer >> ashwin.sinha@go-mmt.com  | >> 9452075361 >> >> 2nd floor, Tower B Divyashree Technopolis >> Yemalur, Bangalore, Karnataka 560025, India >> >> >> >> ::DISCLAIMER:: >> >> ---------------------------------------------------------------------------------------------------------------------------------------------------- >> >> >> This message is intended only for the use of the addressee and >> may contain information that is privileged, confidential and >> exempt from disclosure under applicable law. If the reader of >> this message is not the intended recipient, or the employee or >> agent responsible for delivering the message to the intended >> recipient, you are hereby notified that any dissemination, >> distribution or copying of this communication is strictly >> prohibited. If you have received this e-mail in error, please >> notify us immediately by return e-mail and delete this e-mail and >> all attachments from your system. >> > > > > -- > *Ashwin Sinha *| Data Engineer > ashwin.sinha@go-mmt.com  | 9452075361 > > 2nd floor, Tower B Divyashree Technopolis > Yemalur, Bangalore, Karnataka 560025, India > > > > ::DISCLAIMER:: > > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > > This message is intended only for the use of the addressee and may > contain information that is privileged, confidential and exempt from > disclosure under applicable law. If the reader of this message is not > the intended recipient, or the employee or agent responsible for > delivering the message to the intended recipient, you are hereby > notified that any dissemination, distribution or copying of this > communication is strictly prohibited. If you have received this e-mail > in error, please notify us immediately by return e-mail and delete > this e-mail and all attachments from your system. > --------------2F9B9D1AD3B43AA44C0D4438 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
Great to hear!

Timo

Am 03.07.18 um 16:16 schrieb Ashwin Sinha:
Hi Chesnay, 

We got the issue. Thanks for pointing out the issue. By mistake it was running the 1.3.2 jobmanager version, and now moved to 1.5.0 and working smooth. Will be careful from next time.

Thanks for all the support and help!

On Tue, Jul 3, 2018 at 7:30 PM Chesnay Schepler <chesnay@apache.org> wrote:
Can you provide us with the JobManager logs?

Based on the exception i concur with Timo, it looks like the server is either running 1.4 or below, or was started in the legacy mode.

On 03.07.2018 15:42, Ashwin Sinha wrote:
Hi Timo, 

Our flink version is 1.5.0

We followed this documentation and started flink cluster same way. Also we are getting more logs https://pastebin.com/fGTW9s2b

On Tue, Jul 3, 2018 at 7:01 PM Timo Walther <twalthr@apache.org> wrote:
Hi Ashwin,

which Flink version is your (local cluster)? Are you executing Flink in the default (new deployment) or legacy mode? The SQL client supports only the new "FLIP-6" deployment model. I'm not sure about your error message but it might be related to that.

Regards,
Timo


Am 03.07.18 um 14:42 schrieb Ashwin Sinha:
Hi folks,

We are trying to setup flink sql client. It is still in development phase, but flink-1.5 contains beta version of this feature.

Our environment:

Kafka-
Topic: test_flink_state_check
Kafka Key: null
Kafka Value example: {"state": 299, "number": 299} 

Flink-
Jobmanager: http://localhost:8080/
conf/sql-client-defaults.yaml: https://pastebin.com/zGb3qs7E

Then we start sql-client shell by 
./bin/sql-client.sh embedded


When we run
select * from [tablename]
the result shell hangs and after sometime it exits without printing any data and give following error on screen: https://pastebin.com/wuitQx1a

Complete stacktrace in flink logs: https://pastebin.com/mgk06xeG

Please assist us in resolving this!

--

::DISCLAIMER::

----------------------------------------------------------------------------------------------------------------------------------------------------


This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system.




--

::DISCLAIMER::

----------------------------------------------------------------------------------------------------------------------------------------------------


This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system.




--

::DISCLAIMER::

----------------------------------------------------------------------------------------------------------------------------------------------------


This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system.


--------------2F9B9D1AD3B43AA44C0D4438--