You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/09 22:47:05 UTC

[jira] [Commented] (TWILL-154) Support for Azure Blob Storage

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

ASF GitHub Bot commented on TWILL-154:
--------------------------------------

GitHub user chtyim opened a pull request:

    https://github.com/apache/incubator-twill/pull/68

    (TWILL-154) Remove hardcoded check for “hdfs” or “maprfs” URI prefix

    

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

    $ git pull https://github.com/chtyim/incubator-twill feature/TWILL-154

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

    https://github.com/apache/incubator-twill/pull/68.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 #68
    
----
commit f65374d2b021966be15c229f7588dc1abdefdfec
Author: Terence Yim <ch...@apache.org>
Date:   2015-10-09T20:42:22Z

    (TWILL-154) Remove hardcoded check for “hdfs” or “maprfs” URI prefix

----


> Support for Azure Blob Storage
> ------------------------------
>
>                 Key: TWILL-154
>                 URL: https://issues.apache.org/jira/browse/TWILL-154
>             Project: Apache Twill
>          Issue Type: Improvement
>            Reporter: Derek Wood
>
> When trying to run a Twill application (CDAP) on top of an Azure HDInsight cluster, the following exception occurs:
> {code}
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:88)
> Caused by: java.lang.IllegalArgumentException: Unsupported location type wasb://dwtest@cask.blob.core.windows.net/cdap/twill/master.services/10bcb9eb-c337-4f1a-ae27-0fac22a426bb
> 	at org.apache.twill.internal.ServiceMain.createAppLocation(ServiceMain.java:152)
> 	at org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:73)
> 	... 5 more
> {code}
> Azure HDInsight clusters use Azure Blob Storage as described here: https://hadoop.apache.org/docs/current/hadoop-azure/index.html#Accessing_wasb_URLs



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