@Test public void testAddProtocolPresent() throws Exception { String normalized = ConfigurationBuilder.addProtocolIfMissing("webhdfs: assertEquals(normalized, "webhdfs: }
protected static String addProtocolIfMissing(String defaultFs) { if (!defaultFs.matches("^[^:]+: defaultFs = "webhdfs: } return defaultFs; }
ConfigurationBuilder { protected static String addProtocolIfMissing(String defaultFs) { if (!defaultFs.matches("^[^:]+: defaultFs = "webhdfs: } return defaultFs; } }
ConfigurationBuilder { protected static String addProtocolIfMissing(String defaultFs) { if (!defaultFs.matches("^[^:]+: defaultFs = "webhdfs: } return defaultFs; } ConfigurationBuilder(ViewContext context);  ConfigurationBuilder(ViewContext context, Map<String, String> customProperties); }
ConfigurationBuilder { protected static String addProtocolIfMissing(String defaultFs) { if (!defaultFs.matches("^[^:]+: defaultFs = "webhdfs: } return defaultFs; } ConfigurationBuilder(ViewContext context);  ConfigurationBuilder(ViewContext context, Map<String, String> customProperties); void setAuthParams(Map<String, String> authParams); Configuration buildConfig(); Map<String, String> buildAuthenticationConfig(); }
ConfigurationBuilder { protected static String addProtocolIfMissing(String defaultFs) { if (!defaultFs.matches("^[^:]+: defaultFs = "webhdfs: } return defaultFs; } ConfigurationBuilder(ViewContext context);  ConfigurationBuilder(ViewContext context, Map<String, String> customProperties); void setAuthParams(Map<String, String> authParams); Configuration buildConfig(); Map<String, String> buildAuthenticationConfig(); static final String CORE_SITE; static final String HDFS_SITE; static final String DEFAULT_FS_INSTANCE_PROPERTY; static final String DEFAULT_FS_CLUSTER_PROPERTY; static final String NAMESERVICES_INSTANCE_PROPERTY; static final String NAMESERVICES_CLUSTER_PROPERTY; static final String HA_NAMENODES_INSTANCE_PROPERTY; static final String HA_NAMENODES_CLUSTER_PROPERTY; static final String NAMENODE_RPC_NN1_INSTANCE_PROPERTY; static final String NAMENODE_RPC_NN2_INSTANCE_PROPERTY; static final String NAMENODE_RPC_NN_CLUSTER_PROPERTY; static final String NAMENODE_HTTP_NN1_INSTANCE_PROPERTY; static final String NAMENODE_HTTP_NN2_INSTANCE_PROPERTY; static final String NAMENODE_HTTP_NN_CLUSTER_PROPERTY; static final String NAMENODE_HTTPS_NN1_INSTANCE_PROPERTY; static final String NAMENODE_HTTPS_NN2_INSTANCE_PROPERTY; static final String NAMENODE_HTTPS_NN_CLUSTER_PROPERTY; static final String FAILOVER_PROXY_PROVIDER_INSTANCE_PROPERTY; static final String FAILOVER_PROXY_PROVIDER_CLUSTER_PROPERTY; static final String UMASK_CLUSTER_PROPERTY; static final String UMASK_INSTANCE_PROPERTY; static final String DFS_WEBHDFS_ENABLED; static final String DFS_HTTP_POLICY; static final String DFS_HTTP_POLICY_HTTPS_ONLY; static final String DFS_NAMENODE_HTTP_ADDERSS; static final String DFS_NAMENODE_HTTPS_ADDERSS; }