[jira] [Commented] (KNOX-790) URL parameters with empty/null value are ignored

2016-11-20 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/KNOX-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15682711#comment-15682711
 ] 

Hadoop QA commented on KNOX-790:


Testing JIRA KNOX-790


Patch 
[KNOX-790.patch|https://issues.apache.org/jira/secure/attachment/12839757/KNOX-790.patch]
 downloaded at Mon Nov 21 06:28:01 UTC 2016



{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.{color:green}+1{color} the patch does not introduce any @author tags
.{color:green}+1{color} the patch does not introduce any tabs
.{color:green}+1{color} the patch does not introduce any trailing spaces
.{color:green}+1{color} the patch does not introduce any line longer than 
120
.{color:green}+1{color} the patch does adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
.{color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
.{color:green}+1{color} the patch does not seem to introduce new Javadoc 
warnings
{color:green}+1 COMPILE{color}
.{color:green}+1{color} HEAD compiles
.{color:green}+1{color} patch compiles
.{color:green}+1{color} the patch does not seem to introduce new javac 
warnings
.{color:red}WARNING{color}: the current HEAD has 77 javac warning(s)
{color:green}+1 FINDBUGS{color}
.{color:green}+1{color} the patch does not seem to introduce new Findbugs 
warnings
.{color:red}WARNING: the current HEAD has  Findbugs warning(s), they should 
be addressed ASAP{color}
{color:red}-1 TESTS{color}
.Tests run: 683
.Tests failed: 0
.Tests errors: 1

.The patch failed the following testcases:

.  

{color:green}+1 DISTRO{color}
.{color:green}+1{color} distro tarball builds with the patch 


{color:red}*-1 Overall result, please check the reported -1(s)*{color}

{color:red}.   There is at least one warning, please check{color}

The full output of the test-patch run is available at

.   https://builds.apache.org/job/Knox-master-patch-verify/98/

> URL parameters with empty/null value are ignored
> 
>
> Key: KNOX-790
> URL: https://issues.apache.org/jira/browse/KNOX-790
> Project: Apache Knox
>  Issue Type: Bug
>Reporter: Nishant Bangarwa
>Assignee: Nishant Bangarwa
> Attachments: KNOX-790.patch
>
>
> From the logs - 
> 2016-11-19 01:18:42,973 DEBUG hadoop.gateway 
> (UrlRewriteProcessor.java:rewrite(164)) - Rewrote URL: 
> https://localhost:8443/gateway/sandbox/druid-coordinator/druid/coordinator/v1/servers?simple,
>  direction: IN via implicit rule: 
> DRUID-COORDINATOR/druid-coordinator/inbound/api to URL: 
> http://nbangarw-druid-1:8081/druid/coordinator/v1/servers?simple
> 2016-11-19 01:18:42,979 DEBUG hadoop.gateway 
> (DefaultDispatch.java:executeOutboundRequest(120)) - Dispatch request: GET 
> http://nbangarw-druid-1:8081/druid/coordinator/v1/servers?user.name=guest
> Note the final request Dispatched to does not have the parameter simple. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (KNOX-758) Add service definition for proxying Druid Queries, Coordinator & Indexer UI

2016-11-20 Thread Nishant Bangarwa (JIRA)

[ 
https://issues.apache.org/jira/browse/KNOX-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15682637#comment-15682637
 ] 

Nishant Bangarwa edited comment on KNOX-758 at 11/21/16 6:14 AM:
-

[~sumit.gupta] have updated the patch. Please check. 
Also filed https://issues.apache.org/jira/browse/KNOX-790 for the null param 
issue i faced for coordinator console. 


was (Author: nishantbangarwa):
[~sumit.gupta] have updated the patch. Please check. 

> Add service definition for proxying Druid Queries, Coordinator & Indexer UI 
> 
>
> Key: KNOX-758
> URL: https://issues.apache.org/jira/browse/KNOX-758
> Project: Apache Knox
>  Issue Type: New Feature
>Reporter: Nishant Bangarwa
>Assignee: Nishant Bangarwa
> Fix For: 0.11.0
>
> Attachments: KNOX-758.patch
>
>
> Druid (http://druid.io) is an Open Source distributed Database for providing 
> sub-second OLAP queries. This task is to add service definitions for proxying 
> Druid UI and queries using KNOX gateway. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KNOX-790) URL parameters with empty/null value are ignored

2016-11-20 Thread Nishant Bangarwa (JIRA)

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

Nishant Bangarwa updated KNOX-790:
--
Status: Patch Available  (was: Open)

> URL parameters with empty/null value are ignored
> 
>
> Key: KNOX-790
> URL: https://issues.apache.org/jira/browse/KNOX-790
> Project: Apache Knox
>  Issue Type: Bug
>Reporter: Nishant Bangarwa
>Assignee: Nishant Bangarwa
> Attachments: KNOX-790.patch
>
>
> From the logs - 
> 2016-11-19 01:18:42,973 DEBUG hadoop.gateway 
> (UrlRewriteProcessor.java:rewrite(164)) - Rewrote URL: 
> https://localhost:8443/gateway/sandbox/druid-coordinator/druid/coordinator/v1/servers?simple,
>  direction: IN via implicit rule: 
> DRUID-COORDINATOR/druid-coordinator/inbound/api to URL: 
> http://nbangarw-druid-1:8081/druid/coordinator/v1/servers?simple
> 2016-11-19 01:18:42,979 DEBUG hadoop.gateway 
> (DefaultDispatch.java:executeOutboundRequest(120)) - Dispatch request: GET 
> http://nbangarw-druid-1:8081/druid/coordinator/v1/servers?user.name=guest
> Note the final request Dispatched to does not have the parameter simple. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (KNOX-790) URL parameters with empty/null value are ignored

2016-11-20 Thread Nishant Bangarwa (JIRA)
Nishant Bangarwa created KNOX-790:
-

 Summary: URL parameters with empty/null value are ignored
 Key: KNOX-790
 URL: https://issues.apache.org/jira/browse/KNOX-790
 Project: Apache Knox
  Issue Type: Bug
Reporter: Nishant Bangarwa
Assignee: Nishant Bangarwa


>From the logs - 
2016-11-19 01:18:42,973 DEBUG hadoop.gateway 
(UrlRewriteProcessor.java:rewrite(164)) - Rewrote URL: 
https://localhost:8443/gateway/sandbox/druid-coordinator/druid/coordinator/v1/servers?simple,
 direction: IN via implicit rule: 
DRUID-COORDINATOR/druid-coordinator/inbound/api to URL: 
http://nbangarw-druid-1:8081/druid/coordinator/v1/servers?simple
2016-11-19 01:18:42,979 DEBUG hadoop.gateway 
(DefaultDispatch.java:executeOutboundRequest(120)) - Dispatch request: GET 
http://nbangarw-druid-1:8081/druid/coordinator/v1/servers?user.name=guest

Note the final request Dispatched to does not have the parameter simple. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KNOX-758) Add service definition for proxying Druid Queries, Coordinator & Indexer UI

2016-11-20 Thread Nishant Bangarwa (JIRA)

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

Nishant Bangarwa updated KNOX-758:
--
Attachment: KNOX-758.patch

> Add service definition for proxying Druid Queries, Coordinator & Indexer UI 
> 
>
> Key: KNOX-758
> URL: https://issues.apache.org/jira/browse/KNOX-758
> Project: Apache Knox
>  Issue Type: New Feature
>Reporter: Nishant Bangarwa
>Assignee: Nishant Bangarwa
> Fix For: 0.11.0
>
> Attachments: KNOX-758.patch
>
>
> Druid (http://druid.io) is an Open Source distributed Database for providing 
> sub-second OLAP queries. This task is to add service definitions for proxying 
> Druid UI and queries using KNOX gateway. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KNOX-758) Add service definition for proxying Druid Queries, Coordinator & Indexer UI

2016-11-20 Thread Nishant Bangarwa (JIRA)

[ 
https://issues.apache.org/jira/browse/KNOX-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15682637#comment-15682637
 ] 

Nishant Bangarwa commented on KNOX-758:
---

[~sumit.gupta] have updated the patch. Please check. 

> Add service definition for proxying Druid Queries, Coordinator & Indexer UI 
> 
>
> Key: KNOX-758
> URL: https://issues.apache.org/jira/browse/KNOX-758
> Project: Apache Knox
>  Issue Type: New Feature
>Reporter: Nishant Bangarwa
>Assignee: Nishant Bangarwa
> Fix For: 0.11.0
>
> Attachments: KNOX-758.patch
>
>
> Druid (http://druid.io) is an Open Source distributed Database for providing 
> sub-second OLAP queries. This task is to add service definitions for proxying 
> Druid UI and queries using KNOX gateway. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KNOX-758) Add service definition for proxying Druid Queries, Coordinator & Indexer UI

2016-11-20 Thread Nishant Bangarwa (JIRA)

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

Nishant Bangarwa updated KNOX-758:
--
Attachment: (was: KNOX-758.patch)

> Add service definition for proxying Druid Queries, Coordinator & Indexer UI 
> 
>
> Key: KNOX-758
> URL: https://issues.apache.org/jira/browse/KNOX-758
> Project: Apache Knox
>  Issue Type: New Feature
>Reporter: Nishant Bangarwa
>Assignee: Nishant Bangarwa
> Fix For: 0.11.0
>
>
> Druid (http://druid.io) is an Open Source distributed Database for providing 
> sub-second OLAP queries. This task is to add service definitions for proxying 
> Druid UI and queries using KNOX gateway. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KNOX-780) Remove dependency on SNAPSHOT version of hadoop-common-test jar

2016-11-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KNOX-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15681635#comment-15681635
 ] 

ASF subversion and git services commented on KNOX-780:
--

Commit 6eb0a6e5bec8222d766d2517af6b91e52a9cb5e7 in knox's branch 
refs/heads/master from [~lmccay]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=6eb0a6e ]

KNOX-780 - Remove dependency on SNAPSHOT version of hadoop-common-test jar

> Remove dependency on SNAPSHOT version of hadoop-common-test jar
> ---
>
> Key: KNOX-780
> URL: https://issues.apache.org/jira/browse/KNOX-780
> Project: Apache Knox
>  Issue Type: Bug
>Affects Versions: 0.10.0
>Reporter: Sumit Gupta
> Fix For: 0.11.0
>
>
> When doing a clean build without a populated local maven repository it was 
> found that we have a dependency on a SNAPSHOT jar. This is okay for 
> development but not okay at all for releases. We need to determine why we are 
> pulling this dependency and move to a non-snapshot version of it.
> The following was found by [~kamrul]
> {code}
> Failed to execute goal 
> org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) 
> on project gateway-test-release: Failed to resolve dependencies for one or 
> more projects in the reactor. Reason: Missing:[ERROR] --[ERROR] 1) 
> org.apache.hadoop:hadoop-common-test:jar:0.23.0-SNAPSHOT[ERROR] [ERROR] Try 
> downloading the file manually from the project website.[ERROR] [ERROR] Then, 
> install it using the command:[ERROR] mvn install:install-file 
> -DgroupId=org.apache.hadoop -DartifactId=hadoop-common-test 
> -Dversion=0.23.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file[ERROR] [ERROR] 
> Alternatively, if you host your own repository you can deploy the file 
> there:[ERROR] mvn deploy:deploy-file -DgroupId=org.apache.hadoop 
> -DartifactId=hadoop-common-test -Dversion=0.23.0-SNAPSHOT -Dpackaging=jar 
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id][ERROR] [ERROR] Path to 
> dependency:[ERROR] 1) org.apache.knox:gateway-test-release:pom:0.10.0[ERROR] 
> 2) org.apache.hadoop:hadoop-common-test:jar:0.23.0-SNAPSHOT[ERROR] [ERROR] 
> --[ERROR] 1 required artifact is missing.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)