[jira] [Commented] (DRILL-7186) Missing storage.json REST endpoint.

2019-04-19 Thread Sorabh Hamirwasia (JIRA)


[ 
https://issues.apache.org/jira/browse/DRILL-7186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822107#comment-16822107
 ] 

Sorabh Hamirwasia commented on DRILL-7186:
--

[~vitalii] - Given the changes are small, I would say for better user 
experience let's provide those. So just to clarify you will open PR for all 3 
issues. 1 and 2 are related to backward compatibility and specially 3 is user 
experience which definitely should be fixed.

> Missing storage.json REST endpoint.
> ---
>
> Key: DRILL-7186
> URL: https://issues.apache.org/jira/browse/DRILL-7186
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Anton Gozhiy
>Assignee: Arina Ielchiieva
>Priority: Blocker
>  Labels: ready-to-commit
> Fix For: 1.16.0
>
>
> *Steps:*
> 1. Open page: http://:8047/storage.json
> *Expected result:*
> storage.json is opened:
> {noformat}
> [ {
>   "name" : "cp",
>   "config" : {
> "type" : "file",
> "connection" : "classpath:///",
> "config" : null,
> "workspaces" : { },
> "formats" : {
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "dfs",
>   "config" : {
> "type" : "file",
> "connection" : "file:///",
> "config" : null,
> "workspaces" : {
>   "tmp" : {
> "location" : "/tmp",
> "writable" : true,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   },
>   "root" : {
> "location" : "/",
> "writable" : false,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   }
> },
> "formats" : {
>   "psv" : {
> "type" : "text",
> "extensions" : [ "tbl" ],
> "delimiter" : "|"
>   },
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "httpd" : {
> "type" : "httpd",
> "logFormat" : "%h %t \"%r\" %>s %b \"%{Referer}i\""
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "pcap" : {
> "type" : "pcap"
>   },
>   "pcapng" : {
> "type" : "pcapng",
> "extensions" : [ "pcapng" ]
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "sequencefile" : {
> "type" : "sequencefile",
> "extensions" : [ "seq" ]
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "hbase",
>   "config" : {
> "type" : "hbase",
> "config" : {
>   "hbase.zookeeper.quorum" : "localhost",
>   "hbase.zookeeper.property.clientPort" : "2181"
> },
> "size.calculator.enabled" : false,
> "enabled" : false
>   }
> }, {
>   "name" : "hive",
>   "config" : {
> "type" : "hive",
> "configProps" : {
>   "hive.metastore.uris" : "",
>   "javax.jdo.option.ConnectionURL" : 
> "jdbc:derby:;databaseName=../sample-data/drill_hive_db;create=true",
>   "hive.metastore.warehouse.dir" : "/tmp/drill_hive_wh",
>   "fs.default.name" : "file:///",
>   "hive.metastore.sasl

[jira] [Commented] (DRILL-7186) Missing storage.json REST endpoint.

2019-04-19 Thread Vitalii Diravka (JIRA)


[ 
https://issues.apache.org/jira/browse/DRILL-7186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822099#comment-16822099
 ] 

Vitalii Diravka commented on DRILL-7186:


[~shamirwasia] Hi Sorabh,
Thanks for finding these!
That changes were made intentionally, but I agree the old behavior should be 
preserved for backward compatibility. I think additional methods can be added, 
which follows an old API and declared as deprecated. 
If you agree, I will write an email to \{{[VOTE] Apache Drill Release 1.16.0 - 
RC0}} about blocker for RC0 and will prepare the PR.
Thanks

> Missing storage.json REST endpoint.
> ---
>
> Key: DRILL-7186
> URL: https://issues.apache.org/jira/browse/DRILL-7186
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Anton Gozhiy
>Assignee: Arina Ielchiieva
>Priority: Blocker
>  Labels: ready-to-commit
> Fix For: 1.16.0
>
>
> *Steps:*
> 1. Open page: http://:8047/storage.json
> *Expected result:*
> storage.json is opened:
> {noformat}
> [ {
>   "name" : "cp",
>   "config" : {
> "type" : "file",
> "connection" : "classpath:///",
> "config" : null,
> "workspaces" : { },
> "formats" : {
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "dfs",
>   "config" : {
> "type" : "file",
> "connection" : "file:///",
> "config" : null,
> "workspaces" : {
>   "tmp" : {
> "location" : "/tmp",
> "writable" : true,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   },
>   "root" : {
> "location" : "/",
> "writable" : false,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   }
> },
> "formats" : {
>   "psv" : {
> "type" : "text",
> "extensions" : [ "tbl" ],
> "delimiter" : "|"
>   },
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "httpd" : {
> "type" : "httpd",
> "logFormat" : "%h %t \"%r\" %>s %b \"%{Referer}i\""
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "pcap" : {
> "type" : "pcap"
>   },
>   "pcapng" : {
> "type" : "pcapng",
> "extensions" : [ "pcapng" ]
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "sequencefile" : {
> "type" : "sequencefile",
> "extensions" : [ "seq" ]
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "hbase",
>   "config" : {
> "type" : "hbase",
> "config" : {
>   "hbase.zookeeper.quorum" : "localhost",
>   "hbase.zookeeper.property.clientPort" : "2181"
> },
> "size.calculator.enabled" : false,
> "enabled" : false
>   }
> }, {
>   "name" : "hive",
>   "config" : {
> "type" : "hive",
> "configProps" : {
>   "hive.metastore.uris" : "",
>   "javax.jdo.option.ConnectionURL" : 
> "jdbc:derby:;databaseName=../sample-data/drill_hive_db;create=true",
>

[jira] [Commented] (DRILL-7186) Missing storage.json REST endpoint.

2019-04-19 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/DRILL-7186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822098#comment-16822098
 ] 

ASF GitHub Bot commented on DRILL-7186:
---

sohami commented on pull request #1757: DRILL-7186: Add back storage.json REST 
endpoint (regression after DRILL-6562)
URL: https://github.com/apache/drill/pull/1757
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Missing storage.json REST endpoint.
> ---
>
> Key: DRILL-7186
> URL: https://issues.apache.org/jira/browse/DRILL-7186
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Anton Gozhiy
>Assignee: Arina Ielchiieva
>Priority: Blocker
>  Labels: ready-to-commit
> Fix For: 1.16.0
>
>
> *Steps:*
> 1. Open page: http://:8047/storage.json
> *Expected result:*
> storage.json is opened:
> {noformat}
> [ {
>   "name" : "cp",
>   "config" : {
> "type" : "file",
> "connection" : "classpath:///",
> "config" : null,
> "workspaces" : { },
> "formats" : {
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "dfs",
>   "config" : {
> "type" : "file",
> "connection" : "file:///",
> "config" : null,
> "workspaces" : {
>   "tmp" : {
> "location" : "/tmp",
> "writable" : true,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   },
>   "root" : {
> "location" : "/",
> "writable" : false,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   }
> },
> "formats" : {
>   "psv" : {
> "type" : "text",
> "extensions" : [ "tbl" ],
> "delimiter" : "|"
>   },
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "httpd" : {
> "type" : "httpd",
> "logFormat" : "%h %t \"%r\" %>s %b \"%{Referer}i\""
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "pcap" : {
> "type" : "pcap"
>   },
>   "pcapng" : {
> "type" : "pcapng",
> "extensions" : [ "pcapng" ]
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "sequencefile" : {
> "type" : "sequencefile",
> "extensions" : [ "seq" ]
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "hbase",
>   "config" : {
> "type" : "hbase",
> "config" : {
>   "hbase.zookeeper.quorum" : "localhost",
>   "hbase.zookeeper.property.clientPort" : "2181"
> },
> "size.calculator.enabled" : false,
> "enabled" : false
>   }
> }, {
>   "name" : "hive",
>   "config" : {
> "type" : "hive",
> "configProps" : {
>   "hive.metastore.uris" : "",
>   "javax.jdo.option.Conne

[jira] [Commented] (DRILL-7186) Missing storage.json REST endpoint.

2019-04-19 Thread Sorabh Hamirwasia (JIRA)


[ 
https://issues.apache.org/jira/browse/DRILL-7186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822052#comment-16822052
 ] 

Sorabh Hamirwasia commented on DRILL-7186:
--

@vdiravka / [~arina]

With DRILL-6562 I am seeing additional changes which is not supporting older 
requests URL. For example:

1) Earlier export of plugin config was done for json format by default using 
URL:  */storage/\{name}/export* and now the new URL is 
*/storage/\{name}/export/\{format}*. This means the older one is not supported 
anymore. Is it intended or should we treat the format as JSON by default if not 
provided ?

2) The POST URL to create and update plugin is changed from */storage/\{name}* 
to */storage/create_update*

> Missing storage.json REST endpoint.
> ---
>
> Key: DRILL-7186
> URL: https://issues.apache.org/jira/browse/DRILL-7186
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Anton Gozhiy
>Assignee: Arina Ielchiieva
>Priority: Blocker
>  Labels: ready-to-commit
> Fix For: 1.16.0
>
>
> *Steps:*
> 1. Open page: http://:8047/storage.json
> *Expected result:*
> storage.json is opened:
> {noformat}
> [ {
>   "name" : "cp",
>   "config" : {
> "type" : "file",
> "connection" : "classpath:///",
> "config" : null,
> "workspaces" : { },
> "formats" : {
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "dfs",
>   "config" : {
> "type" : "file",
> "connection" : "file:///",
> "config" : null,
> "workspaces" : {
>   "tmp" : {
> "location" : "/tmp",
> "writable" : true,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   },
>   "root" : {
> "location" : "/",
> "writable" : false,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   }
> },
> "formats" : {
>   "psv" : {
> "type" : "text",
> "extensions" : [ "tbl" ],
> "delimiter" : "|"
>   },
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "httpd" : {
> "type" : "httpd",
> "logFormat" : "%h %t \"%r\" %>s %b \"%{Referer}i\""
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "pcap" : {
> "type" : "pcap"
>   },
>   "pcapng" : {
> "type" : "pcapng",
> "extensions" : [ "pcapng" ]
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "sequencefile" : {
> "type" : "sequencefile",
> "extensions" : [ "seq" ]
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "hbase",
>   "config" : {
> "type" : "hbase",
> "config" : {
>   "hbase.zookeeper.quorum" : "localhost",
>   "hbase.zookeeper.property.clientPort" : "2181"
> },
> "size.calculator.enabled" : false,
> "enabled" : false
>   }
> }, {
>   "name" : "hive",
>   "config" : {
> "type" : "hive",
> "configProps" : {
>   "hive

[jira] [Commented] (DRILL-7186) Missing storage.json REST endpoint.

2019-04-19 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/DRILL-7186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821909#comment-16821909
 ] 

ASF GitHub Bot commented on DRILL-7186:
---

arina-ielchiieva commented on issue #1757: DRILL-7186: Add back storage.json 
REST endpoint (regression after DRILL-6562)
URL: https://github.com/apache/drill/pull/1757#issuecomment-484892041
 
 
   @vdiravka please review.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Missing storage.json REST endpoint.
> ---
>
> Key: DRILL-7186
> URL: https://issues.apache.org/jira/browse/DRILL-7186
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Anton Gozhiy
>Assignee: Arina Ielchiieva
>Priority: Blocker
> Fix For: 1.16.0
>
>
> *Steps:*
> 1. Open page: http://:8047/storage.json
> *Expected result:*
> storage.json is opened:
> {noformat}
> [ {
>   "name" : "cp",
>   "config" : {
> "type" : "file",
> "connection" : "classpath:///",
> "config" : null,
> "workspaces" : { },
> "formats" : {
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "dfs",
>   "config" : {
> "type" : "file",
> "connection" : "file:///",
> "config" : null,
> "workspaces" : {
>   "tmp" : {
> "location" : "/tmp",
> "writable" : true,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   },
>   "root" : {
> "location" : "/",
> "writable" : false,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   }
> },
> "formats" : {
>   "psv" : {
> "type" : "text",
> "extensions" : [ "tbl" ],
> "delimiter" : "|"
>   },
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "httpd" : {
> "type" : "httpd",
> "logFormat" : "%h %t \"%r\" %>s %b \"%{Referer}i\""
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "pcap" : {
> "type" : "pcap"
>   },
>   "pcapng" : {
> "type" : "pcapng",
> "extensions" : [ "pcapng" ]
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "sequencefile" : {
> "type" : "sequencefile",
> "extensions" : [ "seq" ]
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "hbase",
>   "config" : {
> "type" : "hbase",
> "config" : {
>   "hbase.zookeeper.quorum" : "localhost",
>   "hbase.zookeeper.property.clientPort" : "2181"
> },
> "size.calculator.enabled" : false,
> "enabled" : false
>   }
> }, {
>   "name" : "hive",
>   "config" : {
> "type" : "hive",
> "configProps" : {
>   "hive.metastore.uris" : "",
>   "javax.jdo.o

[jira] [Commented] (DRILL-7186) Missing storage.json REST endpoint.

2019-04-19 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/DRILL-7186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821908#comment-16821908
 ] 

ASF GitHub Bot commented on DRILL-7186:
---

arina-ielchiieva commented on pull request #1757: DRILL-7186: Add back 
storage.json REST endpoint (regression after DRILL-6562)
URL: https://github.com/apache/drill/pull/1757
 
 
   Details - [DRILL-7186](https://issues.apache.org/jira/browse/DRILL-7186).
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Missing storage.json REST endpoint.
> ---
>
> Key: DRILL-7186
> URL: https://issues.apache.org/jira/browse/DRILL-7186
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Anton Gozhiy
>Assignee: Arina Ielchiieva
>Priority: Blocker
> Fix For: 1.16.0
>
>
> *Steps:*
> 1. Open page: http://:8047/storage.json
> *Expected result:*
> storage.json is opened:
> {noformat}
> [ {
>   "name" : "cp",
>   "config" : {
> "type" : "file",
> "connection" : "classpath:///",
> "config" : null,
> "workspaces" : { },
> "formats" : {
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "dfs",
>   "config" : {
> "type" : "file",
> "connection" : "file:///",
> "config" : null,
> "workspaces" : {
>   "tmp" : {
> "location" : "/tmp",
> "writable" : true,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   },
>   "root" : {
> "location" : "/",
> "writable" : false,
> "defaultInputFormat" : null,
> "allowAccessOutsideWorkspace" : false
>   }
> },
> "formats" : {
>   "psv" : {
> "type" : "text",
> "extensions" : [ "tbl" ],
> "delimiter" : "|"
>   },
>   "csv" : {
> "type" : "text",
> "extensions" : [ "csv" ],
> "delimiter" : ","
>   },
>   "tsv" : {
> "type" : "text",
> "extensions" : [ "tsv" ],
> "delimiter" : "\t"
>   },
>   "httpd" : {
> "type" : "httpd",
> "logFormat" : "%h %t \"%r\" %>s %b \"%{Referer}i\""
>   },
>   "parquet" : {
> "type" : "parquet"
>   },
>   "json" : {
> "type" : "json",
> "extensions" : [ "json" ]
>   },
>   "pcap" : {
> "type" : "pcap"
>   },
>   "pcapng" : {
> "type" : "pcapng",
> "extensions" : [ "pcapng" ]
>   },
>   "avro" : {
> "type" : "avro"
>   },
>   "sequencefile" : {
> "type" : "sequencefile",
> "extensions" : [ "seq" ]
>   },
>   "csvh" : {
> "type" : "text",
> "extensions" : [ "csvh" ],
> "extractHeader" : true,
> "delimiter" : ","
>   },
>   "image" : {
> "type" : "image",
> "extensions" : [ "jpg", "jpeg", "jpe", "tif", "tiff", "dng", "psd", 
> "png", "bmp", "gif", "ico", "pcx", "wav", "wave", "avi", "webp", "mov", 
> "mp4", "m4a", "m4p", "m4b", "m4r", "m4v", "3gp", "3g2", "eps", "epsf", 
> "epsi", "ai", "arw", "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", 
> "x3f" ]
>   }
> },
> "enabled" : true
>   }
> }, {
>   "name" : "hbase",
>   "config" : {
> "type" : "hbase",
> "config" : {
>   "hbase.zookeeper.quorum" : "localhost",
>   "hbase.zookeeper.property.clientPort" : "2181"
> },
> "size.calculator.enabled" : false,
> "enabled" : false
>   }
> }, {
>   "name" : "hive",
>   "config" : {
> "type" : "hive",
> "configProps" : {
>   "hive.metastore