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 8510A200AF1 for ; Wed, 11 May 2016 11:17:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 83B7A1602BE; Wed, 11 May 2016 09:17: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 CD4031602BF for ; Wed, 11 May 2016 11:17:13 +0200 (CEST) Received: (qmail 52971 invoked by uid 500); 11 May 2016 09:17:13 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 52914 invoked by uid 99); 11 May 2016 09:17:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2016 09:17:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DC5762C0451 for ; Wed, 11 May 2016 09:17:12 +0000 (UTC) Date: Wed, 11 May 2016 09:17:12 +0000 (UTC) From: "Ilya Suntsov (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-3106) Yardstick can't parse /config/queries.txt with license header MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 11 May 2016 09:17:14 -0000 Ilya Suntsov created IGNITE-3106: ------------------------------------ Summary: Yardstick can't parse /config/queries.txt with license header Key: IGNITE-3106 URL: https://issues.apache.org/jira/browse/IGNITE-3106 Project: Ignite Issue Type: Task Components: general Affects Versions: 1.6 Reporter: Ilya Suntsov Priority: Blocker Fix For: 1.6 File yardstick/config/queries.txt contains queries that used for load tests. Yardstick can't parse this file with this license header: {noformat} # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. {noformat} Yardstick reads line in upper case and tried to execute it as query: {noformat} ERROR: Shutting down benchmark driver to unexpected exception. Type '--help' for usage. javax.cache.CacheException: class org.apache.ignite.IgniteException: Failed to parse query: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <------>at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:674) <------>at org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark.doSqlQuery(IgniteCacheRandomOperationBenchmark.java:858) <------>at org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark.executeRandomOperation(IgniteCacheRandomOperationBenchmark.java:553) <------>at org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark.executeOutOfTx(IgniteCacheRandomOperationBenchmark.java:495) <------>at org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark.test(IgniteCacheRandomOperationBenchmark.java:158) <------>at org.yardstickframework.impl.BenchmarkRunner$2.run(BenchmarkRunner.java:176) <------>at java.lang.Thread.run(Thread.java:745) Caused by: class org.apache.ignite.IgniteException: Failed to parse query: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <------>at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:811) <------>at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:665) <------>... 6 more {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)