Hi, Thanks for explaining it. It was used to support old one and new one. Not all interpreter are initialized by interpreter-setting.json thus we should keep both of them. After we move to new mechanism fully, we need to talk to modify those structures.
Regards, Jongyoul Lee On Wed, Dec 14, 2016 at 11:25 AM, Jianfeng (Jeff) Zhang < jzh...@hortonworks.com> wrote: > Hi JL, > > I think Igor means the property name appears twice in the > interpreter-setting.son > > E.g. In the following setting, zeppelin.livy.url appears twice. > > > "zeppelin.livy.url": { > "envName": "ZEPPELIN_LIVY_HOST_URL", > "propertyName": "zeppelin.livy.url", > "defaultValue": "http://localhost:8998", > "description": "The URL for Livy Server." > }, > > > > Best Regard, > Jeff Zhang > > > > > > On 12/14/16, 10:00 AM, "Jongyoul Lee" <jongy...@gmail.com> wrote: > > >Hi, > > > >Zeppelin supports two way to pass the configuration to interpreter. > >propertyName is one of these way to do. I don't know what you talk about > >exactly but interpreter's properties map is initialized by set of > >propertyNames in interpreter-setting. If you remove propertyName, those > >key > >are not initialized when the interpreter starts. > > > >JL > > > >On Tue, Dec 13, 2016 at 10:48 PM, Igor Drozdov <igor_droz...@epam.com> > >wrote: > > > >> Hello, > >> > >> I'm doing task https://issues.apache.org/jira/browse/ZEPPELIN-922 > >> (introducing new interpreter registration mechanism for Scalding) and I > >> have a question about interpreter-setting.json. > >> Why do we need "propertyName"? It always has the same value as a key in > >> properties map (or null). I can't find any usages of it in code. > >> > >> Should I add this property to new json or just omit it? > >> > >> Thank you > >> Igor Drozdov > >> > >> > > > > > >-- > >이종열, Jongyoul Lee, 李宗烈 > >http://madeng.net > > -- 이종열, Jongyoul Lee, 李宗烈 http://madeng.net