Monday, December 4, 2017
Sunday, November 26, 2017
How to Prepare and Clear Hortonworks Data Platform Certified Developer Exam (HDPCD -English)
Monday, October 30, 2017
How to use Password file with Sqoop
Chitchatiq
10/30/2017 11:21:00 AM
BigData&Hadoop, Problems&Solutions, sqoop
No comments
Monday, October 9, 2017
SQOOP-SqlManager-Error reading from database-java.sql.SQLException-set com.mysql.jdbc.RowDataDynamic-3c2d5cfb
Chitchatiq
10/09/2017 06:37:00 PM
Hive, Problems&Solutions, sqoop
No comments
Thursday, September 21, 2017
How to create a column in a table and that should throw error when we do SELECT * or SELECT col
Chitchatiq
9/21/2017 06:45:00 PM
Problems&Solutions
No comments
Monday, September 11, 2017
Greenplum System-Useful Queries
- Query to verify the list of segments in a Greenplum system
|
Column Value
|
Description
|
|
Content = -1
|
Master Node
|
|
Content = 0 - n
|
Slave segments
|
- Query to verify Skewing in a database
- Query to verify the number of records in each segment of a table
- Query to verify the size of a database/ relation (table)
Greenplum Best Practises
Chitchatiq
9/11/2017 08:33:00 PM
Best Practices, Greenplum
No comments
- A distribution key should not have more than 2 columns, recommended is 1 column.
- While modeling a database, we need to make sure all the tables that gets involved in longer query execution are distributed using the joining column.
- Distribution keys should be domain key but not surrogate keys.
- Explicitly define a column or random distribution for all tables. Do not use the default as it may cause skew on segments.
- Do not distribute on columns that will be used in the WHERE clause of a query. You should partition the data on the column that is used in WHERE clause
- The distribution key column data should contain unique values
- Do not distribute on dates or timestamps. Distributing data on date or timestamp may cause poor system performance
- There are 2 questions to ask while deciding the distribution key of a table:
- Is the Distribution Key used in joins?
- Makes sure, no redistribution is happening during query execution
- Does the key 'Equi-distributes' the data across all the segments?
- Makes sure all the segments get approximately the same amount of data, hence the same amount of work during query execution.
- We need to make sure data skewing is minimum for every table.
Greenplum Architecture
Wednesday, September 6, 2017
How to find and delete the top 100 most used files in Linux/Unix
Chitchatiq
9/06/2017 06:15:00 PM
Problems&Solutions
No comments
Thanks for reading this article and please do subscribe to get more updates
Saturday, September 2, 2017
How to Install MySQL on CentOS 7
Chitchatiq
9/02/2017 02:43:00 PM
MySQL Installation, Problems&Solutions
No comments
Wednesday, August 30, 2017
Hortonworks:Service 'userhome' check failed: File does not exist: /user/admin
Chitchatiq
8/30/2017 06:08:00 PM
BigData&Hadoop, Hadoop, Problems&Solutions
No comments
Problem: Service
'userhome' check failed: File does not exist: /user/admin
Thursday, July 13, 2017
Hive Order by Vs Sort by
Wednesday, July 12, 2017
How to retrive/get all the numbers from a string using SQL server
Chitchatiq
7/12/2017 01:07:00 PM
Problems&Solutions, SQL Server
No comments
Script for getting all the numbers from string
Question: Find position of numbers in the given string
Chitchatiq
7/12/2017 01:00:00 PM
Problems&Solutions
No comments
Friday, March 10, 2017
Getting Error while accessing Hive from command line interface
Chitchatiq
3/10/2017 01:05:00 PM
Hive, Problems&Solutions
No comments
Logging initialized using configuration in file:/etc/hive/2.5.0.0-1245/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user/root":hdfs:hdfs:drwxr-xr-x
- Create Root or the users which is using to launch the hive
- Do the HDFS ownership change from HDFS to the required user






