falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pragya Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-2211) Falcon Fails to start in distributed mode
Date Thu, 08 Dec 2016 12:26:59 GMT

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

Pragya Mittal updated FALCON-2211:
----------------------------------
    Description: 
Hi All,

If we start ExtensionService on prism and server it fails to start with following exception

{noformat}
2016-12-08 12:21:10,220 ERROR - [main:] ~ Exception in ExtensionMetaStore: (ExtensionStore:109)
org.apache.falcon.entity.store.StoreAccessException: java.lang.Exception:  For extension mirroring
there are no artifacts at the extension store path file:/mnt/falcon/prism/extensions
	at org.apache.falcon.extensions.store.ExtensionStore.getExtensionArtifacts(ExtensionStore.java:150)
	at org.apache.falcon.extensions.store.ExtensionStore.getResource(ExtensionStore.java:317)
	at org.apache.falcon.extensions.store.ExtensionStore.getShortDescription(ExtensionStore.java:116)
	at org.apache.falcon.extensions.store.ExtensionStore.initializeDbTable(ExtensionStore.java:103)
	at org.apache.falcon.extensions.store.ExtensionStore.<init>(ExtensionStore.java:93)
	at org.apache.falcon.extensions.store.ExtensionStore.<clinit>(ExtensionStore.java:78)
	at org.apache.falcon.extensions.ExtensionService.getExtensionStore(ExtensionService.java:47)
	at org.apache.falcon.extensions.ExtensionService.init(ExtensionService.java:39)
	at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:47)
	at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:56)
	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:550)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:519)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.apache.falcon.util.EmbeddedServer.start(EmbeddedServer.java:58)
	at org.apache.falcon.FalconServer.main(FalconServer.java:118)
Caused by: java.lang.Exception:  For extension mirroring there are no artifacts at the extension
store path file:/mnt/falcon/prism/extensions
{noformat}

Although /mnt/falcon/prism/extensions is not empty 
{noformat}
dataqa@falcon1001:/mnt/falcon$ ls -R /mnt/falcon/prism/extensions
/mnt/falcon/prism/extensions:
hdfs-mirroring  hdfs-snapshot-mirroring  hive-mirroring  mirroring

/mnt/falcon/prism/extensions/hdfs-mirroring:
libs  META  README  resources

/mnt/falcon/prism/extensions/hdfs-mirroring/libs:
build  runtime

/mnt/falcon/prism/extensions/hdfs-mirroring/libs/build:

/mnt/falcon/prism/extensions/hdfs-mirroring/libs/runtime:

/mnt/falcon/prism/extensions/hdfs-mirroring/META:
hdfs-mirroring-properties.json

/mnt/falcon/prism/extensions/hdfs-mirroring/resources:
build  runtime

/mnt/falcon/prism/extensions/hdfs-mirroring/resources/build:

/mnt/falcon/prism/extensions/hdfs-mirroring/resources/runtime:
hdfs-mirroring-template.xml  hdfs-mirroring-workflow.xml

/mnt/falcon/prism/extensions/hdfs-snapshot-mirroring:
libs  META  README  resources

/mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/libs:
build  runtime

/mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/libs/build:

/mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/libs/runtime:

/mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/META:
hdfs-snapshot-mirroring-properties.json

/mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/resources:
build  runtime

/mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/resources/build:

/mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/resources/runtime:
hdfs-snapshot-mirroring-template.xml  hdfs-snapshot-mirroring-workflow.xml

/mnt/falcon/prism/extensions/hive-mirroring:
libs  META  README  resources

/mnt/falcon/prism/extensions/hive-mirroring/libs:
build  runtime

/mnt/falcon/prism/extensions/hive-mirroring/libs/build:

/mnt/falcon/prism/extensions/hive-mirroring/libs/runtime:

/mnt/falcon/prism/extensions/hive-mirroring/META:
hive-mirroring-properties.json

/mnt/falcon/prism/extensions/hive-mirroring/resources:
build  runtime

/mnt/falcon/prism/extensions/hive-mirroring/resources/build:

/mnt/falcon/prism/extensions/hive-mirroring/resources/runtime:
hive-mirroring-secure-workflow.xml  hive-mirroring-template.xml  hive-mirroring-workflow.xml

/mnt/falcon/prism/extensions/mirroring:
{noformat}

Thanks
Praveen

  was:
Hi All,

If we start ExtensionService on prism it fails to start as trusted extensions folder are empty.

Thanks
Praveen


> Falcon Fails to start in distributed mode
> -----------------------------------------
>
>                 Key: FALCON-2211
>                 URL: https://issues.apache.org/jira/browse/FALCON-2211
>             Project: Falcon
>          Issue Type: Sub-task
>          Components: extensions
>            Reporter: Praveen Adlakha
>            Assignee: Praveen Adlakha
>
> Hi All,
> If we start ExtensionService on prism and server it fails to start with following exception

> {noformat}
> 2016-12-08 12:21:10,220 ERROR - [main:] ~ Exception in ExtensionMetaStore: (ExtensionStore:109)
> org.apache.falcon.entity.store.StoreAccessException: java.lang.Exception:  For extension
mirroring there are no artifacts at the extension store path file:/mnt/falcon/prism/extensions
> 	at org.apache.falcon.extensions.store.ExtensionStore.getExtensionArtifacts(ExtensionStore.java:150)
> 	at org.apache.falcon.extensions.store.ExtensionStore.getResource(ExtensionStore.java:317)
> 	at org.apache.falcon.extensions.store.ExtensionStore.getShortDescription(ExtensionStore.java:116)
> 	at org.apache.falcon.extensions.store.ExtensionStore.initializeDbTable(ExtensionStore.java:103)
> 	at org.apache.falcon.extensions.store.ExtensionStore.<init>(ExtensionStore.java:93)
> 	at org.apache.falcon.extensions.store.ExtensionStore.<clinit>(ExtensionStore.java:78)
> 	at org.apache.falcon.extensions.ExtensionService.getExtensionStore(ExtensionService.java:47)
> 	at org.apache.falcon.extensions.ExtensionService.init(ExtensionService.java:39)
> 	at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:47)
> 	at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:56)
> 	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:550)
> 	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> 	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
> 	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:519)
> 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> 	at org.mortbay.jetty.Server.doStart(Server.java:224)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.apache.falcon.util.EmbeddedServer.start(EmbeddedServer.java:58)
> 	at org.apache.falcon.FalconServer.main(FalconServer.java:118)
> Caused by: java.lang.Exception:  For extension mirroring there are no artifacts at the
extension store path file:/mnt/falcon/prism/extensions
> {noformat}
> Although /mnt/falcon/prism/extensions is not empty 
> {noformat}
> dataqa@falcon1001:/mnt/falcon$ ls -R /mnt/falcon/prism/extensions
> /mnt/falcon/prism/extensions:
> hdfs-mirroring  hdfs-snapshot-mirroring  hive-mirroring  mirroring
> /mnt/falcon/prism/extensions/hdfs-mirroring:
> libs  META  README  resources
> /mnt/falcon/prism/extensions/hdfs-mirroring/libs:
> build  runtime
> /mnt/falcon/prism/extensions/hdfs-mirroring/libs/build:
> /mnt/falcon/prism/extensions/hdfs-mirroring/libs/runtime:
> /mnt/falcon/prism/extensions/hdfs-mirroring/META:
> hdfs-mirroring-properties.json
> /mnt/falcon/prism/extensions/hdfs-mirroring/resources:
> build  runtime
> /mnt/falcon/prism/extensions/hdfs-mirroring/resources/build:
> /mnt/falcon/prism/extensions/hdfs-mirroring/resources/runtime:
> hdfs-mirroring-template.xml  hdfs-mirroring-workflow.xml
> /mnt/falcon/prism/extensions/hdfs-snapshot-mirroring:
> libs  META  README  resources
> /mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/libs:
> build  runtime
> /mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/libs/build:
> /mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/libs/runtime:
> /mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/META:
> hdfs-snapshot-mirroring-properties.json
> /mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/resources:
> build  runtime
> /mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/resources/build:
> /mnt/falcon/prism/extensions/hdfs-snapshot-mirroring/resources/runtime:
> hdfs-snapshot-mirroring-template.xml  hdfs-snapshot-mirroring-workflow.xml
> /mnt/falcon/prism/extensions/hive-mirroring:
> libs  META  README  resources
> /mnt/falcon/prism/extensions/hive-mirroring/libs:
> build  runtime
> /mnt/falcon/prism/extensions/hive-mirroring/libs/build:
> /mnt/falcon/prism/extensions/hive-mirroring/libs/runtime:
> /mnt/falcon/prism/extensions/hive-mirroring/META:
> hive-mirroring-properties.json
> /mnt/falcon/prism/extensions/hive-mirroring/resources:
> build  runtime
> /mnt/falcon/prism/extensions/hive-mirroring/resources/build:
> /mnt/falcon/prism/extensions/hive-mirroring/resources/runtime:
> hive-mirroring-secure-workflow.xml  hive-mirroring-template.xml  hive-mirroring-workflow.xml
> /mnt/falcon/prism/extensions/mirroring:
> {noformat}
> Thanks
> Praveen



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

Mime
View raw message