Member since
06-20-2016
308
Posts
103
Kudos Received
29
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1956 | 09-19-2018 06:31 PM | |
1442 | 09-13-2018 09:33 PM | |
1414 | 09-04-2018 05:29 PM | |
4417 | 08-27-2018 04:33 PM | |
3484 | 08-22-2018 07:46 PM |
02-06-2017
11:05 PM
1 Kudo
@PJ Not sure if there is any direct mechanism to copy the configurations between the clusters. but you can Ambari and create a cluster using Ambari blueprints (It contains blueprints). once you have the blueprint you can create more clusters with same/similar configurations.
... View more
02-06-2017
10:15 PM
3 Kudos
Here is the steps to access HBase UI through Knox. This is tried and tested with Ambari 2.4 and HDP2.5 1. Make sure Knox is configured properly and it works fine. 2. ssh to Knox gateway host and go to /var/lib/knox/data-2.5.3.0-37/services 3. download the configurations from https://github.com/apache/knox/tree/v0.11.0/gateway-service-definitions/src/main/resources/services/hbaseui/1.1.0/ URL. 4. make sure your folder structure should look alike /var/lib/knox/data-2.5.3.0-37/services/hbaseui/1.1.0 and should have rewrite.xml and service.xml files 5. change the owner/Group permissions to Knox for /var/lib/knox/data-2.5.3.0-37/services/hbaseui/ and subdirectory 6. Go to Knox configurations Modify "Advanced topology" with below service tag <service>
<role>HBASEUI</role>
<url>http://HBASEMANTERHOST:16010</url>
</service>
<service>
7. Restart Knox service. 8. You should be able to access HBase UI from the below URL https://Knxo-host:8443/gateway/default/hbase/webui/ Note: replace default with your correct 'identity-assertion'
... View more
Labels:
02-06-2017
10:11 PM
2 Kudos
Here is the steps to access HDFS UI through Knox. This is tried and tested with Ambari 2.4 and HDP2.5 1. Make sure Knox is configured properly and it works fine. 2. ssh to Knox gateway host and go to /var/lib/knox/data-2.5.3.0-37/services 3. download the configurations from https://github.com/apache/knox/tree/v0.11.0/gateway-service-definitions/src/main/resources/services/hdfsui/2.7.0/ URL. 4. make sure your folder structure should look alike /var/lib/knox/data-2.5.3.0-37/services/hdfsui/2.7.0 and should have rewrite.xml and service.xml files 5. change the owner/Group permissions to Knox for /var/lib/knox/data-2.5.3.0-37/services/hdfsui/ and subdirectory 6. Go to Knox configurations Modify "Advanced topology" with below service tag <service>
<role>HDFSUI</role>
<url>http://NNHOST:50070</url>
</service>
7.Restart Knox service. 8. You should be able to access Name node UI from the below URL https://Knxo-host:8443/gateway/default/hdfs/ Note: replace default with your correct 'identity-assertion'
... View more
Labels:
02-06-2017
07:42 PM
@Kargol Meister what is the ambari-server system configuration?
can you increase the "agent.threadpool.size.max" to say 120 ( by default it will have 25) and restart the ambari-server? we do see some issues in the higher end machines where there are more number of CPUs. let us know the result.
... View more
02-01-2017
11:04 PM
@Robert Levas thanks for that pointer, however here customer would like to enable the Kerberos after some time with custom principals names.
... View more
01-31-2017
06:17 PM
@Jacqualin jasmin can you check if iptables are running in the host- you can try "service iptables stop" and then see.
... View more
01-31-2017
01:52 AM
@Dayou Zhou Here is the correct example to parse your JSON. import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
public class JSONParser {
public static void main(String[] args) throws IOException {
try(Reader reader = new InputStreamReader(JsonToJava.class.getResourceAsStream("Server1.json"), "UTF-8")){
Gson gson = new GsonBuilder().create();
Person p = gson.fromJson(reader, Person.class);
System.out.println(p);
}
}
}
Person.java as public class Person {
private String field1;
private String field2;
@Override
public String toString() {
return field1 + " - " + field2;
}
} Command to run: java -cp .:gson-2.2.2.jar JSONParser output should be "1 - abc"
... View more
01-30-2017
07:39 PM
@Jacqualin jasmin Is Ambari shows service is UP?You can look at /var/log/ranger/admin/xa_portal.log file for errors. also check whether service is listening on that port.
... View more
01-30-2017
05:38 PM
@Nick Pileggi Yes, you will have to put the Ranger Cert into HDFS truststore,. also by default it enables 2 way SSL between Ranger admin and HDFS plug-in. Some time back I have written article here with complete steps. https://community.hortonworks.com/articles/68150/configuring-ranger-ranger-hdfs-plugin-for-ssl-with.html
... View more
01-26-2017
11:04 PM
@Sachin Ambardekar looks like you have accepted question itself as answer. please select correct answer.
... View more