Vladimir Ozerov created IGNITE-3940:
---------------------------------------
Summary: Hadoop: IgniteHadoopIgfsSecondaryFileSystem must use HadoopClassLoader.
Key: IGNITE-3940
URL:
https://issues.apache.org/jira/browse/IGNITE-3940 Project: Ignite
Issue Type: Sub-task
Components: hadoop
Affects Versions: 1.7
Reporter: Vladimir Ozerov
Fix For: 1.8
In new arhitecture {{IgniteHadoopIgfsSecondaryFileSystem}} should load dependent classes using {{HadoopClassLoader}}. We need to guarantee it.
Proposed solution:
1) Separate {{HadoopClassLoader}} is initialized for the file system on start ({{ctor}} or {{start}} method);
2) All interfaces methods are wrapped into {{HadoopUtils.setContextClassLoader}}
3) start/stop methods are wrapped as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)