Questions about rpc

2017-08-07 Thread weijie tong
There's a case that the partitioned sender elapsed lots of time to wait .
>From the profile ,we saw that the sender waits for 1 hour ,the opposite
recivier and its subsequent hash aggregate operator spends 1 hour to its
process time. (39 sender minor fragments,7 reciver minor fragments, each
sender sends about 8m data)Through reading the codes,some opinions and
wonder please correct me.

1. what's design purpose by setting the DataTunnel holds 3 semaphores? to
throttle the sender part ?

2. The profile stats of sender's wait time does not include the reciver's
subsequent operators' process time . right?

3. Is there any advice to accelerate the sender ,receiver phase?

4. The muxechange's purpose is to merge minor fragments belonging to the
same machines to save the sender buffer memory. right?


[HANGOUT] Suggestions for hangout topics for 08/08/2017

2017-08-07 Thread Karthik Manivannan
Hi,

Please add any topics that you want to discuss during the  08/08/2017
hangout (10 AM PST) to this thread.
Topics will also be collected at the start of the hangout.

Hangout link:
https://plus.google.com/hangouts/_/event/ci4rdiju8bv04a64efj5fedd0lc
Thanks.

Karthik Manivannan


[GitHub] drill pull request #885: DRILL-5687: Disable TestMergeJoinWithSchemaChanges#...

2017-08-07 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/drill/pull/885


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill pull request #878: DRILL-5675: Drill C++ Client reports incorrect date...

2017-08-07 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/drill/pull/878


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill issue #895: DRILL-5704: Improve error message on client side when quer...

2017-08-07 Thread sohami
Github user sohami commented on the issue:

https://github.com/apache/drill/pull/895
  
@parthchandra - Thanks for the feedback. IOException is thrown for various 
reason from FileSystem api's and hence I was just printing the exception 
message. But I have added a hint statement based on impersonation case 
specifically. Now it will print like below.

Error: RESOURCE ERROR: Failed to create schema tree.

IOException:  Error getting user info for current user, anonymous
_[Hint: Username is absent in connection URL or doesn't exist on Drillbit 
node. Please specify a username in connection URL which is present on Drillbit 
node.]_

[Error Id: 1cf76f0f-28d0-4fda-93bd-e7c03a0088d3 on qa-node164.qa.lab:31010] 
(state=,code=0)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Resolved] (DRILL-5685) Provide a way to set common environment variable between sqlline and Drillbit differently.

2017-08-07 Thread Sorabh Hamirwasia (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-5685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sorabh Hamirwasia resolved DRILL-5685.
--
Resolution: Fixed

> Provide a way to set common environment variable between sqlline and Drillbit 
> differently.
> --
>
> Key: DRILL-5685
> URL: https://issues.apache.org/jira/browse/DRILL-5685
> Project: Apache Drill
>  Issue Type: Task
>Reporter: Sorabh Hamirwasia
>Assignee: Sorabh Hamirwasia
>  Labels: ready-to-commit
> Fix For: 1.12.0
>
>
> Drill has distrib-env.sh which is used to set any distribution specific 
> environment consumed by both sqlline and Drillbit. These environment 
> variables can be overridden by drill-env.sh. But there is no clean way to 
> know if these scripts were sourced for Drillbit or for sqlline, currently all 
> the variables will be set for both the scripts.
> With this JIRA we will introduce a separated environment variable 
> _DRILLBIT_CONTEXT_ which will only be set inside drillbit.sh. Based on this 
> variable any script called later in the pipeline can make decision's to 
> set/unset an environment variable or to set the common environment variable 
> differently for sqlline and Drillbit.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] drill issue #896: WIP: Made UI links relative.

2017-08-07 Thread paul-rogers
Github user paul-rogers commented on the issue:

https://github.com/apache/drill/pull/896
  
Please file an Apache Drill JIRA for this issue, then modify the title:

DRILL-: Made UI links relative.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill issue #890: Escape version number period separator, this captures vers...

2017-08-07 Thread paul-rogers
Github user paul-rogers commented on the issue:

https://github.com/apache/drill/pull/890
  
Please put the JIRA ticket number in the title so that the system will 
automagically send comments & close notices to the JIRA ticket. Example:

DRILL-5698: Escape version number period separator, this captures version 
numbers


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill pull request #868: DRILL-5547:Linking config options with system optio...

2017-08-07 Thread paul-rogers
Github user paul-rogers commented on a diff in the pull request:

https://github.com/apache/drill/pull/868#discussion_r131735150
  
--- Diff: 
exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassTransformation.java
 ---
@@ -68,7 +69,7 @@ public void testJaninoClassCompiler() throws Exception {
   @Test
   public void testJDKClassCompiler() throws Exception {
 logger.debug("Testing JDKClassCompiler");
-sessionOptions.setOption(OptionValue.createString(OptionType.SESSION, 
ClassCompilerSelector.JAVA_COMPILER_OPTION, 
ClassCompilerSelector.CompilerPolicy.JDK.name()));
+sessionOptions.setOption(OptionValue.createString(OptionType.SESSION, 
ClassCompilerSelector.JAVA_COMPILER_OPTION, 
ClassCompilerSelector.CompilerPolicy.JDK.name(), OptionScope.SESSION));
--- End diff --

Look like the original API is lacking a nice, simple `set(name, value)` 
method... Let's leave that as a project for later.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill issue #875: DRILL-5671 Set secure ACLs (Access Control List) for Drill...

2017-08-07 Thread bitblender
Github user bitblender commented on the issue:

https://github.com/apache/drill/pull/875
  
Yes. There will be a commit addressing the issues raised here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


RE: Understanding the -Dbounds JVM option

2017-08-07 Thread Kunal Khatua
I believe that flag was renamed

https://github.com/apache/drill/blob/master/exec/memory/base/src/main/java/org/apache/drill/exec/memory/BoundsChecking.java

I might not be the best person to answer this, but it involves enforcing the 
bounds checking of value vectors so that Drill does not access offsets beyond 
the limits (i.e. bounds) of value vectors.
By default, Drill will do bounds checking. Disabling will improve performance, 
but has the potential risk of unsafe memory access which can crash a Drillbit.  

DRILL-5351 had a commit that reduced the number of checks, but couldn't 
eliminate the checks entirely.



-Original Message-
From: Muhammad Gelbana [mailto:m.gelb...@gmail.com] 
Sent: Monday, August 07, 2017 4:38 AM
To: dev@drill.apache.org
Subject: Understanding the -Dbounds JVM option

This page  refers to a 
JVM option by the name *bounds*. I tried googling for it but I couldn't find 
anything.

Would someone please elaborate on the effect of this option or post a link that 
does ?

Thanks,
Gelbana


RE: compiling drill 1.11.0 with cdh profile

2017-08-07 Thread Kunal Khatua
Are you able to access the website mentioned? 
The default profile built successfully, and I'd guess that build should work on 
CDH as well. 

With the CDH profile, I got failure due to dependencies. Need to check why the 
Vectors package failed, but I don't see the problem that you do :

[INFO] --- maven-enforcer-plugin:1.3.1:enforce (avoid_bad_dependencies) @ 
vector ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed 
with message:
Found Banned Dependency: log4j:log4j:jar:1.2.17
Found Banned Dependency: javax.servlet:servlet-api:jar:2.5
Use 'mvn dependency:tree' to locate the source of the banned dependencies.
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Drill Root POM .. SUCCESS [  7.783 s]

[INFO] exec/rpc ... SUCCESS [  3.166 s]
[INFO] exec/Vectors ... FAILURE [01:10 min]
[INFO] contrib/Parent Pom . SKIPPED
.
[INFO] contrib/sqlline  SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 01:59 min
[INFO] Finished at: 2017-08-07T12:15:47-07:00
[INFO] Final Memory: 85M/752M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce 
(avoid_bad_dependencies) on project vector: Some Enforcer rules have failed. 
Look above for specific messages explaining why the rule failed. -> [Help 1]

-Original Message-
From: Dor Ben Dov [mailto:dor.ben-...@amdocs.com] 
Sent: Monday, August 07, 2017 3:44 AM
To: dev@drill.apache.org
Subject: compiling drill 1.11.0 with cdh profile

Hi all,

Tried to compile source code of branch 1.11.0 with profile cdh for cloudera - 
getting this exception, anyone ? 

 [dor@dor-fedora64 drill]$ mvn -U -DskipTests clean install -Pcdh [INFO] 
Scanning for projects...
Downloading: 
https://repository.cloudera.com/artifactory/cloudera-repos/org/apache/apache/14/apache-14.pom
Downloading: http://conjars.org/repo/org/apache/apache/14/apache-14.pom
Downloading: http://repository.mapr.com/maven/org/apache/apache/14/apache-14.pom
Downloading: http://repo.dremio.com/release/org/apache/apache/14/apache-14.pom
Downloading: 
http://repository.mapr.com/nexus/content/repositories/drill/org/apache/apache/14/apache-14.pom
Downloading: 
https://repo.maven.apache.org/maven2/org/apache/apache/14/apache-14.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.drill:drill-root:1.11.0: Could 
not transfer artifact org.apache:apache:pom:14 from/to cloudera 
(https://repository.cloudera.com/artifactory/cloudera-repos/): 
repository.cloudera.com: Name or service not known and 'parent.relativePath' 
points at wrong local POM @ line 15, column 11  @ [ERROR] The build could not 
read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.drill:drill-root:1.11.0 
(/home/dor/Downloads/drill/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.apache.drill:drill-root:1.11.0: 
Could not transfer artifact org.apache:apache:pom:14 from/to cloudera 
(https://repository.cloudera.com/artifactory/cloudera-repos/): 
repository.cloudera.com: Name or service not known and 'parent.relativePath' 
points at wrong local POM @ line 15, column 11: Unknown host 
repository.cloudera.com: Name or service not known -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
[dor@dor-fedora64 drill]$


** I am using fedora 26 **

Regards,
Dor
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 




[GitHub] drill issue #875: DRILL-5671 Set secure ACLs (Access Control List) for Drill...

2017-08-07 Thread paul-rogers
Github user paul-rogers commented on the issue:

https://github.com/apache/drill/pull/875
  
Looks like this patch was applied to an internal branch. Will there be 
another commit to address the issues raised here for the Apache Drill branch?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Continuous Integration Tests Failing

2017-08-07 Thread Charles Givre
Is there anything that can be done?  The PR I submitted shouldn’t really have 
affected the build process since they were just template edits on the UI. 
— C

> On Aug 7, 2017, at 13:45, Jinfeng Ni  wrote:
> 
> I saw that the last commit (9d1d815), which upgrades drill version to
> 1.12.0-SNAPSHOT, has CI failure, while the two commits before that commit
> were shown to have successful CI test. Not clear why update the version
> number would cause such difference.
> 
> On Mon, Aug 7, 2017 at 8:51 AM, Charles Givre  wrote:
> 
>> Hello everyone,
>> I wanted to ask if there is something wrong with the Travis-CI test?   It
>> looks as if every PR is failing since we pushed out Drill 1.11.  Could
>> someone please take a look?
>> Thanks,
>> — C



[GitHub] drill issue #870: DRILL-5664: Enable security for Drill HiveStoragePlugin ba...

2017-08-07 Thread paul-rogers
Github user paul-rogers commented on the issue:

https://github.com/apache/drill/pull/870
  
What is the status of this PR? Appears that there was substantial 
discussion about whether the approach here is appropriate for Apache Drill. Had 
the PR been updated with an alternative? Or, should this PR be closed pending a 
revised solution?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill issue #805: Drill-4139: Exception while trying to prune partition. jav...

2017-08-07 Thread vvysotskyi
Github user vvysotskyi commented on the issue:

https://github.com/apache/drill/pull/805
  
Currently, I am waiting when DRILL-5660 is merged. I will add a comment 
when it is ready for another review. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill issue #805: Drill-4139: Exception while trying to prune partition. jav...

2017-08-07 Thread paul-rogers
Github user paul-rogers commented on the issue:

https://github.com/apache/drill/pull/805
  
What is the status of this PR? More work to do? Ready for another review?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill issue #895: DRILL-5704: Improve error message on client side when quer...

2017-08-07 Thread parthchandra
Github user parthchandra commented on the issue:

https://github.com/apache/drill/pull/895
  
This is only marginally better. It would be nicer if the error message 
could suggest what the user needs to do to fix the problem, perhaps?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Continuous Integration Tests Failing

2017-08-07 Thread Jinfeng Ni
I saw that the last commit (9d1d815), which upgrades drill version to
1.12.0-SNAPSHOT, has CI failure, while the two commits before that commit
were shown to have successful CI test. Not clear why update the version
number would cause such difference.

On Mon, Aug 7, 2017 at 8:51 AM, Charles Givre  wrote:

> Hello everyone,
> I wanted to ask if there is something wrong with the Travis-CI test?   It
> looks as if every PR is failing since we pushed out Drill 1.11.  Could
> someone please take a look?
> Thanks,
> — C


[GitHub] drill pull request #868: DRILL-5547:Linking config options with system optio...

2017-08-07 Thread dvjyothsna
Github user dvjyothsna commented on a diff in the pull request:

https://github.com/apache/drill/pull/868#discussion_r131712468
  
--- Diff: 
exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassTransformation.java
 ---
@@ -68,7 +69,7 @@ public void testJaninoClassCompiler() throws Exception {
   @Test
   public void testJDKClassCompiler() throws Exception {
 logger.debug("Testing JDKClassCompiler");
-sessionOptions.setOption(OptionValue.createString(OptionType.SESSION, 
ClassCompilerSelector.JAVA_COMPILER_OPTION, 
ClassCompilerSelector.CompilerPolicy.JDK.name()));
+sessionOptions.setOption(OptionValue.createString(OptionType.SESSION, 
ClassCompilerSelector.JAVA_COMPILER_OPTION, 
ClassCompilerSelector.CompilerPolicy.JDK.name(), OptionScope.SESSION));
--- End diff --

Fallback option manager actually implements setOption and session option 
manager which is a subclass of the fallback option managerdoesn't override 
that. Moreover, we are creating the option value and passing it. So we need to 
have a new method to set option in session option manager. Or can we have a 
variable "type" and set it to OptionType and set it ? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (DRILL-5707) Non-scalar subquery fails the whole query if it's aggregate column has an alias

2017-08-07 Thread Muhammad Gelbana (JIRA)
Muhammad Gelbana created DRILL-5707:
---

 Summary: Non-scalar subquery fails the whole query if it's 
aggregate column has an alias
 Key: DRILL-5707
 URL: https://issues.apache.org/jira/browse/DRILL-5707
 Project: Apache Drill
  Issue Type: Bug
  Components: Query Planning & Optimization, SQL Parser
Affects Versions: 1.11.0, 1.9.0
Reporter: Muhammad Gelbana


The following query can be handled by Drill
{code:sql}
SELECT b.marital_status, (SELECT SUM(position_id) FROM cp.`employee.json` a 
WHERE a.marital_status = b.marital_status ) AS max_a FROM cp.`employee.json` b
{code}

But if I add an alias to the aggregate fuction
{code:sql}
SELECT b.marital_status, (SELECT SUM(position_id) MY_ALIAS FROM 
cp.`employee.json` a WHERE a.marital_status = b.marital_status ) AS max_a FROM 
cp.`employee.json` b
{code}

Drill starts complaining that it can't handle non-scalar subqueries
{noformat}
org.apache.drill.common.exceptions.UserRemoteException: UNSUPPORTED_OPERATION 
ERROR: Non-scalar sub-query used in an expression See Apache Drill JIRA: 
DRILL-1937
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] drill pull request #874: DRILL-5663: Drillbit fails to start when only keyst...

2017-08-07 Thread parthchandra
Github user parthchandra commented on a diff in the pull request:

https://github.com/apache/drill/pull/874#discussion_r131703561
  
--- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java ---
@@ -122,10 +122,10 @@
   String HTTP_SESSION_MEMORY_RESERVATION = 
"drill.exec.http.session.memory.reservation";
   String HTTP_SESSION_MEMORY_MAXIMUM = 
"drill.exec.http.session.memory.maximum";
   String HTTP_SESSION_MAX_IDLE_SECS = 
"drill.exec.http.session_max_idle_secs";
-  String HTTP_KEYSTORE_PATH = "javax.net.ssl.keyStore";
--- End diff --

Hmm, not entirely convinced, but I'm fine as long as you have provided 
backward compatibility for existing users.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill pull request #868: DRILL-5547:Linking config options with system optio...

2017-08-07 Thread dvjyothsna
Github user dvjyothsna commented on a diff in the pull request:

https://github.com/apache/drill/pull/868#discussion_r131702178
  
--- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/options/FallbackOptionManager.java
 ---
@@ -144,4 +144,27 @@ public OptionList getOptionList() {
 }
 return list;
   }
+
+  public OptionManager getFallback() {
+return fallback;
+  }
+
+  /**
+   * {@link FragmentOptionManager} and {@link SessionOptionManager} use 
{@link SystemOptionManager} as the fall back
+   * manager so for both FragmentOptionManager and SessionOptionManager 
fallback is the SystemOptionManager so it is
+   * returned. But in case of {@link QueryOptionManager}, it uses {@link 
SessionOptionManager} as the fallback manager
+   * and since SessionOptionManager uses SystemOptionManager as fallback, 
SystemOptionManager can be fetched from the
+   * SessionOptionManager.
+   */
+  public SystemOptionManager getSystemOptionManager() {
+final SystemOptionManager systemOptionManager;
+if(fallback instanceof SessionOptionManager) {
--- End diff --

Yes, Correct a System Option Manager is not a fallback for session option 
manager. FragmentOptionManager and SessionOptionManager use SystemOptionManager 
as the fall back manager so for both FragmentOptionManager and 
SessionOptionManager fallback is the System Option Manager so it is returned. 
But in the case of  QueryOptionManager, it uses Session Option Manager as the 
fallback manager
 and since Session Option Manager uses System Option Manager as the 
fallback, we need to go one level deep and fetch System Option Manager from the 
Session Option Manager.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Continuous Integration Tests Failing

2017-08-07 Thread Charles Givre
Hello everyone,
I wanted to ask if there is something wrong with the Travis-CI test?   It looks 
as if every PR is failing since we pushed out Drill 1.11.  Could someone please 
take a look?
Thanks,
— C

[GitHub] drill pull request #891: DRILL-5699: Drill Web UI Page Source Has Links To E...

2017-08-07 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request:

https://github.com/apache/drill/pull/891#discussion_r131677320
  
--- Diff: exec/java-exec/src/main/resources/rest/generic.ftl ---
@@ -27,7 +27,9 @@
 
   
 
-  
+  
--- End diff --

Oh, if this valid, please don't change. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill pull request #891: DRILL-5699: Drill Web UI Page Source Has Links To E...

2017-08-07 Thread sindhurirayavaram
Github user sindhurirayavaram commented on a diff in the pull request:

https://github.com/apache/drill/pull/891#discussion_r131671757
  
--- Diff: exec/java-exec/src/main/resources/rest/generic.ftl ---
@@ -27,7 +27,9 @@
 
   
 
-  
+  
--- End diff --

According to this 
[reference](https://stackoverflow.com/questions/550038/is-it-valid-to-replace-http-with-in-a-script-src-http),
 it shouldn't be a problem. I will change it though.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Caching Indexes

2017-08-07 Thread Muhammad Gelbana
Some queries may require an index to be created before performing a join
operation for instance. Is there a way to cache that index for future use ?

Thanks,
Gelbana


Re: Webui and absolute links

2017-08-07 Thread Arina Yelchiyeva
Hi Jorg,

can you please first create Drill Jira and describe the problem there and
then link it to your PR?

Kind regards
Arina

On Mon, Aug 7, 2017 at 4:28 AM, Jörg Schad  wrote:

> Maybe code can express my intentions more clearly:
> https://github.com/apache/drill/pull/896
>
> On Sun, Aug 6, 2017 at 5:36 PM, Jörg Schad  wrote:
>
> > Looking at it, it seems to be a separate issue to me.
> >
> > That issue is about external references, I care about the internal links.
> > These currently use absolute addressing at many places, which leads to
> the
> > problem in the DC/OS UI that css files etc cannot be loaded:
> >
> >
> > On Sun, Aug 6, 2017 at 5:28 PM, Pritesh Maker  wrote:
> >
> >> Hi
> >>
> >> Could this be a duplicate of this JIRA - DRILL-5699: Drill Web UI Page
> >> Source Has Links To External Sites
> >>
> >> It’s in progress with this PR – https://github.com/apache/
> drill/pull/891
> >>
> >> Pritesh
> >>
> >> On 8/6/17, 4:28 PM, "Jörg Schad"  wrote:
> >>
> >> Hi,
> >> I am just creating a drill package for DC/OS / Apache Mesos.
> >>
> >> The one problem I am facing is the UI integration. Unfortunately the
> >> drill
> >> UI uses static links (
> >> e.g.,
> >> 
> >> 
> >> ) .
> >> This does not work nicely with the DC/OS UI, which would reference
> the
> >> drill UI via https:///service/drill/.
> >>
> >> Are there any objections against a PR making the all the links
> >> relative (
> >> e.g.,
> >> 
> >> 
> >> ).
> >>
> >>
> >> Thank you!
> >> Joerg
> >>
> >>
> >>
> >
>


[GitHub] drill pull request #891: DRILL-5699: Drill Web UI Page Source Has Links To E...

2017-08-07 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request:

https://github.com/apache/drill/pull/891#discussion_r131650994
  
--- Diff: exec/java-exec/src/main/resources/rest/generic.ftl ---
@@ -27,7 +27,9 @@
 
   
 
-  
+  
--- End diff --

`https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js`?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill pull request #898: Fixed bug with java version detection

2017-08-07 Thread KrysKruk
Github user KrysKruk closed the pull request at:

https://github.com/apache/drill/pull/898


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill issue #898: Fixed bug with java version detection

2017-08-07 Thread KrysKruk
Github user KrysKruk commented on the issue:

https://github.com/apache/drill/pull/898
  
Duplicate of #890


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill pull request #898: Fixed bug with java version detection

2017-08-07 Thread KrysKruk
GitHub user KrysKruk opened a pull request:

https://github.com/apache/drill/pull/898

Fixed bug with java version detection

e.g. `java version 1.8.0_144` was failing


![pobrane](https://user-images.githubusercontent.com/1618590/29026588-c900c3a0-7b7c-11e7-958a-0d72c9590844.png)


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/KrysKruk/drill java_version_detection

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/drill/pull/898.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #898


commit cd444b7b55019767b484adf562346cd7e6060565
Author: Kildyt 
Date:   2017-08-07T12:28:03Z

Fixed bug with java version detection

e.g. java version 1.8.0_144 was failing




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Understanding the -Dbounds JVM option

2017-08-07 Thread Muhammad Gelbana
This page  refers
to a JVM option by the name *bounds*. I tried googling for it but I
couldn't find anything.

Would someone please elaborate on the effect of this option or post a link
that does ?

Thanks,
Gelbana


Spelling mistake in the "system options" page

2017-08-07 Thread Muhammad Gelbana
I felt it's not a big deal so I thought I don't have a create a Jira task
for it.

On this page

, search for "with have", you should find only one instance, I believe it
should be "will have".


Thanks,
Gelbana


compiling drill 1.11.0 with cdh profile

2017-08-07 Thread Dor Ben Dov
Hi all,

Tried to compile source code of branch 1.11.0 with profile cdh for cloudera - 
getting this exception, anyone ? 

 [dor@dor-fedora64 drill]$ mvn -U -DskipTests clean install -Pcdh [INFO] 
Scanning for projects...
Downloading: 
https://repository.cloudera.com/artifactory/cloudera-repos/org/apache/apache/14/apache-14.pom
Downloading: http://conjars.org/repo/org/apache/apache/14/apache-14.pom
Downloading: http://repository.mapr.com/maven/org/apache/apache/14/apache-14.pom
Downloading: http://repo.dremio.com/release/org/apache/apache/14/apache-14.pom
Downloading: 
http://repository.mapr.com/nexus/content/repositories/drill/org/apache/apache/14/apache-14.pom
Downloading: 
https://repo.maven.apache.org/maven2/org/apache/apache/14/apache-14.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.drill:drill-root:1.11.0: Could 
not transfer artifact org.apache:apache:pom:14 from/to cloudera 
(https://repository.cloudera.com/artifactory/cloudera-repos/): 
repository.cloudera.com: Name or service not known and 'parent.relativePath' 
points at wrong local POM @ line 15, column 11  @ [ERROR] The build could not 
read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.drill:drill-root:1.11.0 
(/home/dor/Downloads/drill/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.apache.drill:drill-root:1.11.0: 
Could not transfer artifact org.apache:apache:pom:14 from/to cloudera 
(https://repository.cloudera.com/artifactory/cloudera-repos/): 
repository.cloudera.com: Name or service not known and 'parent.relativePath' 
points at wrong local POM @ line 15, column 11: Unknown host 
repository.cloudera.com: Name or service not known -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
[dor@dor-fedora64 drill]$


** I am using fedora 26 **

Regards,
Dor
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer