Handling “Hive Metastore not working – Syntax error ‘OPTION SQL_SELECT_LIMIT=DEFAULT’ at line 1”

Table of Contents1 Problem Description2 Root cause3 Resolution Problem Description While dropping a hive table the following exception encountered in hive shell. FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘OPTION SQL_SELECT_LIMIT=DEFAULT’ at line...

Cucumber with TestNG & Selenium (Part-2) – Create Tests

Table of Contents1 Objective2 Configuration3 Install Cucumber-Eclipse plugin4 Create a feature file5 Create Step Definitions6 Create Test Runner Class7 Execute the Tests Objective In this post, we will discuss about how to create tests using Cucumber with TestNG & Selenium. Creating Feature file, Step Definition class, Test Runner class and executing the test case using TestNG. Configuration Create a maven...

Cucumber with TestNG & Selenium (Part-1) – BDD Framework

Table of Contents1 Objective2 What is BDD?3 Advantages of Behavior Driven Development4 What is Cucumber?5 Advantages of Cucumber6 Cucumber with Selenium Architecture7 The procedure of automation using Cucumber8 Configure Cucumber9 Feature file in Cucumber10 Cucumber Options Objective In this post, will discuss about What is Behavior Driven Development, Importance of Cucumber, Feature file, Step definition and Cucumber Options. What is...

Wrapping Exception

Java exceptions are language features used to deal with program failure. In this article, we will see one of the best practices of exception handling followed in the industry called “Exception wrapping” or “Exception funnelling”. Table of Contents1 Introduction1.1 Without exception wrapping1.1.1 Disadvantage1.2 With exception wrapping Introduction Exception wrapping is when you catch an exception, wrap it in another exception and...