Member since
01-30-2019
18
Posts
0
Kudos Received
0
Solutions
05-20-2019
03:58 PM
I have fill that property with gateway.dispatch.whitelist --> ^https?:\/\/(my.domain.com|127\.0\.0\.1|0:0:0:0:0:0:0:1|::1):[0-9].*$ But i have all the time the same error ERROR knox.gateway (GatewayDispatchFilter.java:isDispatchAllowed(155)) - The dispatch to http://my.domain.com:50070/webhdfs/v1/ was disallowed because it fails the dispatch whitelist validation. See documentation for dispatch whitelisting. Thanks
... View more
05-20-2019
08:49 AM
what did you write in gateway.dispatch.whitelist ???
... View more
04-25-2019
04:11 PM
I have seen that when you are working with ipv6, you can find this error. Because they use a split of ipv4, String[] parts = address.getHostAddress().split("\\.");
String reverseIP = parts[3] + "." + parts[2] + "." + parts[1] + "."
+ parts[0] + ".in-addr.arpa"; I have found a posible solution. Put this in the hadoop-env.cmd, but i cant test yet. -Djava.net.preferIPv4Stack=true
... View more
04-25-2019
12:49 PM
I tried setting hbase.regionserver.dns.interface --> eth1, but I'm getting this error as on the regionservers 2019-04-25 09:36:57,404 ERROR [main] regionserver.HRegionServer: Failed construction RegionServer
java.lang.RuntimeException: Failed to invoke DNS.getDefaultHost via reflection
at org.apache.hadoop.hbase.util.DNS.getDefaultHost(DNS.java:63)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.getHostname(RSRpcServices.java:1298)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:1213)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:1184)
at org.apache.hadoop.hbase.regionserver.HRegionServer.createRpcServices(HRegionServer.java:726)
at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:564)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2977)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:63)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2995)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.hbase.util.DNS.getDefaultHost(DNS.java:60)
... 15 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
at org.apache.hadoop.net.DNS.reverseDns(DNS.java:82)
at org.apache.hadoop.net.DNS.getHosts(DNS.java:252)
at org.apache.hadoop.net.DNS.getDefaultHost(DNS.java:365)
... View more
Labels:
- Labels:
-
Apache HBase
03-01-2019
12:56 PM
@Jay Kumar SenSharma Any idea Jay??
... View more
03-01-2019
12:24 PM
If i insert a metric manually i can see the user in the drop-down of the grafana dashboard 0: jdbc:phoenix:sice1.tri.lan:2181> UPSERT into METRICS_METADATA_UUID(METRIC_NAME, APP_ID, INSTANCE_ID, UUID, UNITS, TYPE) VALUES ('regionserver.Users.hbase_metric_get_num_ops', 'hbase', '[B@570a62a5', '', '', ''); So i can say that the problem is in the ams-collector. How can i know where is going bad? Regards
... View more
02-25-2019
09:16 AM
I continue with the problem. I dont know what to do. Any suggestion?
... View more
02-21-2019
12:15 PM
Steps Connect to a host in the cluster that includes the HDFS client. Switch to the hdfs system account user. su - hdfs. Using the HDFS client, make an HDFS directory for the user. For example, if your username is admin, you would create the following directory. ... Set the ownership on the newly created directory
... View more
02-21-2019
11:48 AM
The problem is that the Caller´s drop down is empty and i dont know how to solve it. If i watch the requests i can see that /ws/v1/timeline/metrics?metricNames=regionserver.Users._metric_get_num_ops._rate._sum&appId=hbase And if i change the request i can see the json with the metrics /ws/v1/timeline/metrics?metricNames=regionserver.Users.hbase_metric_get_num_ops._rate._sum&appId=hbase But the problem is that the Caller´s drop down is empty Thanks
... View more
02-21-2019
08:58 AM
HDP-3.1.0.0 with AMS 0.1.0
... View more
02-21-2019
08:38 AM
Yess thanks. I restarted ambari-server several times
... View more
02-21-2019
08:17 AM
Try to put in /etc/hosts your ip Your_IP UNKNOWN_DOMAIN
... View more
02-20-2019
05:16 PM
I had got a similir problem and the solution was to change the /etc/hosts. With this change i was able to find the kerberos server.
... View more
02-20-2019
02:47 PM
I 've got a problem when i want to see the Hbase-User Dashboard in grafana. I have changed the templates to see the Hbase Users, like i have seen in this document https://cwiki.apache.org/confluence/display/AMBARI/Enabling+HBase+Region%2C+User+and+Table+Metrics I`ve changed the templates in this 2 folders /var/lib/ambari-server/resources/common-services/HBASE/0.96.0.2.0/package/templates/ /var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/templates/ But when i restart HBase service i can see the same lines in the "regenerated" file /etc/hbase/conf/hadoop-metrics2-hbase.properties I see all the times this 2 lines *.source.filter.class=org.apache.hadoop.metrics2.filter.RegexFilter
hbase.*.source.filter.exclude=.*(Regions|Users|Tables).* Thanks
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache HBase
01-30-2019
12:04 PM
It is not an easy answer. I think that at the moment it is in incubator. When creating a table in hbase from version 1.1 of atlas you can see it in Apache Atlas. The problem that I have found is that if you feed that table with a csv file, you can not see the data lineage, as if you were working with Hive , It is not an easy answer. I think that at the moment it is in incubator. When creating a table in hbase from version 1.1 of atlas you can see it in Apache Atlas. The problem that I have found is that if you feed that table with a csv file, you can not see the data lineage, as if you were working with Hive
... View more