Apache Knox Setup and HDFS and Hive Accessing BigData

Apache Knox: The Apache Knox™ Gateway is an Application Gateway for interacting with the REST APIs and UIs of Apache Hadoop deployments. Setup Knox: Setup the Knox https://knox.apache.org/books/knox-0-12-0/user-guide.html#Quick+Start Access the Hive: Change in Ambari the Hive config hive.server2.transport.mode to http from binary Check in Linux Use Commands beeline !connect jdbc:hive2://hadoopmaster.com:8443/;ssl=true;sslTrustStore=/var/lib/knox/data-2.6.1.0-129/security/keystores/gateway.jks;trustStorePassword=password@123?hive.server2.transport.mode=http;hive.server2.thrift.http.path=gateway/default/hive hadoopmaster.com is your system address … Continue reading Apache Knox Setup and HDFS and Hive Accessing BigData

Solutions to Date-Time Issue between Server Clients at different Timezone

After Investing lot of time in solving the date-time difference problem between Server and Clients due to them being at different Timezone, I understood few things which I would share with you. You can't control the clients timezone. You can only control your server side timezone. You can't force a your client.to accept your specific date-time. … Continue reading Solutions to Date-Time Issue between Server Clients at different Timezone

ASP.NET MVC Web.config move AppSettings to separate file

Let’s get the appSettings inside the web.config file to a separate file for better maintenance of the code. Step 1: Open your web.config file. Step 2: You will see your appSettings code in there Step 3: Create a new config file in the project name "PrivateSettings.config" and add the settings code you want to keep … Continue reading ASP.NET MVC Web.config move AppSettings to separate file

ASP.NET MVC Web.config move ConnectionStrings to separate file

Let's get the connectionStrings inside the web.config file to a separate file for better maintenance of the code. Step 1: Open your web.config file. Step 2: You will see your connectionStrings code in there Step 3: Add a new config file name as ConnectionStrings.config and copy the above code into it Step 4: In your … Continue reading ASP.NET MVC Web.config move ConnectionStrings to separate file