Thanks for the updates. 2017-07-19 6:29 GMT+08:00 Nirav Patel <npa...@xactlycorp.com>:
> Ok so on MacOS Sierra I had to add following entry to /etc/hosts > > 127.0.0.1 boomerang.local > > > It works now. Application server finally started! > > Thanks > > > > On Tue, Jul 18, 2017 at 3:17 PM, Nirav Patel <npa...@xactlycorp.com> > wrote: > > > I tried it. I had to replace parent POM dependency hbase version as well > > to make it work with MapR: > > > > <!-- hbase-hadoop2.version>1.1.1</hbase-hadoop2.version --> > > <hbase-hadoop2.version>1.1.1-mapr-1602</hbase-hadoop2.version> > > > > I am still getting following error in multiple places. I think issue is > > running `InetAddress.getLocalHost` java api on MacOS Sierra (my local > > mabook). > > > > *java.net.UnknownHostException: boomerang.local: boomerang.local: > nodename > > nor servname provided, or not known* > > > > * at java.net.InetAddress.getLocalHost(InetAddress.java:1473)* > > > > * at net.sf.ehcache.Cache.<clinit>(Cache.java:222)* > > > > * at > > net.sf.ehcache.config.ConfigurationHelper.createCache( > ConfigurationHelper.java:305)* > > > > at net.sf.ehcache.config.ConfigurationHelper.createCaches(Confi > > gurationHelper.java:238) > > > > at net.sf.ehcache.CacheManager.addConfiguredCaches( > CacheManager.java:829) > > > > at net.sf.ehcache.CacheManager.doInit(CacheManager.java:500) > > > > .. > > > > *Caused by: java.net.UnknownHostException: boomerang.local: nodename nor > > servname provided, or not known* > > > > * at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)* > > > > at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901) > > > > at java.net.InetAddress.getAddressesFromNameService( > InetAddress.java:1293) > > > > at java.net.InetAddress.getLocalHost(InetAddress.java:1469) > > > > ... 60 more > > > > > > > > *java.net.UnknownHostException: boomerang.local: boomerang.local: > nodename > > nor servname provided, or not known* > > > > * at java.net.InetAddress.getLocalHost(InetAddress.java:1473)* > > > > * at > > org.apache.kylin.rest.service.BadQueryDetector$ > PersistenceNotifier.<init>(BadQueryDetector.java:202)* > > > > * at > > org.apache.kylin.rest.service.BadQueryDetector.initNotifiers( > BadQueryDetector.java:90)* > > > > * at > > org.apache.kylin.rest.service.BadQueryDetector.<init>( > BadQueryDetector.java:59)* > > > > at org.apache.kylin.rest.service.QueryService.<init>( > QueryService.java:130 > > ) > > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native > > ConstructorAccessorImpl.java:57) > > > > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De > > legatingConstructorAccessorImpl.java:45) > > > > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > > > > at org.springframework.beans.BeanUtils.instantiateClass( > BeanUtils.java:147 > > ) > > > > at org.springframework.beans.factory.support.SimpleInstantiatio > > nStrategy.instantiate(SimpleInstantiationStrategy.java:89) > > > > at org.springframework.beans.factory.support.AbstractAutowireCa > > pableBeanFactory.instantiateBean(AbstractAutowi > > reCapableBeanFactory.java:1102) > > > > at org.springframework.beans.factory.support.AbstractAutowireCa > > pableBeanFactory.createBeanInstance(AbstractAut > > owireCapableBeanFactory.java:1054) > > > > On Fri, Jul 14, 2017 at 7:14 PM, Li Yang <liy...@apache.org> wrote: > > > >> Currently DebugTomcat only works with HDP sandbox. > >> > >> However it is possible to make it work with other hadoop env. The hadoop > >> config DebugTomcat uses resides in "examples\test_case_data\sandbox". > Put > >> all necessary Hadoop site xmls there and it should connect to any Hadoop > >> env you want. > >> > >> Cheers > >> Yang > >> > >> On Sat, Jul 8, 2017 at 7:14 AM, Nirav Patel <npa...@xactlycorp.com> > >> wrote: > >> > >> > I am trying to run kylin from my mac which is a client node (or edge > >> node). > >> > It can connect to our dev cluster. I can run hadoop, hive and hbase > >> > commands. Submit jobs from my local machine on to dev cluster. > >> > > >> > Here are errors I got so far: > >> > > >> > First error I got while running was following: > >> > > >> > No hdp.version set; Please set hdp.version in your jvm option, for > >> example: > >> > -Dhdp.version=2.4.0.0-169 > >> > > >> > I set -Dhdp.version=2.7.0 and I am able to get past above error. > >> > > >> > I also copied all my client machine's configuration files > >> (core-site.xml, > >> > yarn-site.xml, hive-site.xml etc) under sandbox folder and tried to > >> > run DebugTomcat. Now I am getting following error: > >> > > >> > > >> > java.net.UnknownHostException: boomerang.local: boomerang.local: > >> nodename > >> > nor servname provided, or not known //boomerang is my hostname > >> > at java.net.InetAddress.getLocalHost(InetAddress.java:1473) > >> > at org.apache.hadoop.net.DNS.resolveLocalHostname(DNS.java:264) > >> > at org.apache.hadoop.net.DNS.<clinit>(DNS.java:57) > >> > at org.apache.hadoop.hbase.client.ScannerCallable.< > >> > clinit>(ScannerCallable.java:90) > >> > at org.apache.hadoop.hbase.client.ClientScanner.getScannerCallable( > >> > ClientScanner.java:327) > >> > at org.apache.hadoop.hbase.client.ClientScanner.nextScanner( > >> ClientScanner. > >> > java:292) > >> > at org.apache.hadoop.hbase.client.ClientScanner. > >> > initializeScannerInConstruction(ClientScanner.java:160) > >> > at org.apache.hadoop.hbase.client.ClientScanner.<init>( > >> > ClientScanner.java:155) > >> > at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:811) > >> > at org.apache.hadoop.hbase.MetaTableAccessor.fullScan( > >> > MetaTableAccessor.java:602) > >> > at org.apache.hadoop.hbase.MetaTableAccessor.tableExists( > >> > MetaTableAccessor.java:366) > >> > at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists( > >> > HBaseAdmin.java:303) > >> > at org.apache.kylin.storage.hbase.HBaseConnection. > >> > tableExists(HBaseConnection.java:251) > >> > at org.apache.kylin.storage.hbase.HBaseConnection. > createHTableIfNeeded( > >> > HBaseConnection.java:273) > >> > at org.apache.kylin.storage.hbase.HBaseConnection. > createHTableIfNeeded( > >> > HBaseConnection.java:262) > >> > at org.apache.kylin.rest.security.RealAclHBaseStorage.prepareHB > >> aseTable( > >> > RealAclHBaseStorage.java:54) > >> > at org.apache.kylin.rest.security.MockAclHBaseStorage.prepareHB > >> aseTable( > >> > MockAclHBaseStorage.java:53) > >> > at org.apache.kylin.rest.service.UserService.init(UserService. > java:72) > >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> > at sun.reflect.NativeMethodAccessorImpl.invoke( > >> > NativeMethodAccessorImpl.java:57) > >> > > >> > > >> > I am trying to connect to MapR-DB. Do I need to make any config change > >> for > >> > this to happen? > >> > > >> > Thanks > >> > > >> > -- > >> > > >> > > >> > [image: What's New with Xactly] <http://www.xactlycorp.com/ > email-click/ > >> > > >> > > >> > <https://www.nyse.com/quote/XNYS:XTLY> [image: LinkedIn] > >> > <https://www.linkedin.com/company/xactly-corporation> [image: > Twitter] > >> > <https://twitter.com/Xactly> [image: Facebook] > >> > <https://www.facebook.com/XactlyCorp> [image: YouTube] > >> > <http://www.youtube.com/xactlycorporation> > >> > > >> > > > > > > -- > > > [image: What's New with Xactly] <http://www.xactlycorp.com/email-click/> > > <https://www.nyse.com/quote/XNYS:XTLY> [image: LinkedIn] > <https://www.linkedin.com/company/xactly-corporation> [image: Twitter] > <https://twitter.com/Xactly> [image: Facebook] > <https://www.facebook.com/XactlyCorp> [image: YouTube] > <http://www.youtube.com/xactlycorporation> >