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

Rohith Sharma K S commented on YARN-7537:
-----------------------------------------

No, it doesn't since URL does not defines hdfs as scheme because it has not 
registered with Internet Assigned Numbers Authority.  We get following error 
when we use hdfs as scheme or any unknown schemes for creating URL object. 
{noformat}
HW12723:hadoop rsharmaks$ hbase 
org.apache.hadoop.yarn.server.timelineservice.storage.TimelineSchemaCreator 
-create -s
2017-11-21 10:50:43,192 INFO  [main] storage.TimelineSchemaCreator: Starting 
the schema creation
2017-11-21 10:50:43,362 INFO  [main] common.HBaseTimelineStorageUtils: Using 
hbase configuration at hdfs://127.0.0.1:9000/atsv2/hbase-site.xml
Exception in thread "main" java.net.MalformedURLException: unknown protocol: 
hdfs
        at java.net.URL.<init>(URL.java:600)
        at java.net.URL.<init>(URL.java:490)
        at java.net.URL.<init>(URL.java:439)
        at 
org.apache.hadoop.yarn.server.timelineservice.storage.common.HBaseTimelineStorageUtils.getTimelineServiceHBaseConf(HBaseTimelineStorageUtils.java:291)
        at 
org.apache.hadoop.yarn.server.timelineservice.storage.TimelineSchemaCreator.main(TimelineSchemaCreator.java:80)
{noformat}

> [Atsv2] load hbase configuration from filesystem rather than URL
> ----------------------------------------------------------------
>
>                 Key: YARN-7537
>                 URL: https://issues.apache.org/jira/browse/YARN-7537
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>         Attachments: YARN-7537.01.patch
>
>
> Currently HBaseTimelineStorageUtils#getTimelineServiceHBaseConf loads hbase 
> configurations using URL if *yarn.timeline-service.hbase.configuration.file* 
> is configured. But it is restricted to URLs only. This need to be changed to 
> load from file system. In deployment, hbase configuration can be kept under 
> filesystem so that it be utilized by all the NodeManager and ResourceManager.
> cc :/ [~vrushalic] [~varun_saxena]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to