Web hosted tool to convert json files via a csv mapping file into a HIVE SQL script. The generated script will create HIVE external tables over the json and populate relational target tables from them. Current version aimed to be Ambari view. Coded to be deployable as servlet on for example Jetty.
Assuming IntelliJ being used. Require JDK 8 installed.
- Clone project.
- In IntelliJ Select menu File|New|Project From Existing Sources
- Select 'jive' folder + press OK
- Select 'Import project from external model'
- Select Maven + press Next
- Check 'Search for projects recursively'
- Check 'Import Maven projects automatically'
- Check 'Create module groups for multi....'
- Press Next until JDK page.
- Select path to Java 8 JDK + press Next
- Press Finish. Select new window or not.
- Select add vcs root in popup.
- Run mvn clean install.
- Run web project plugin jetty:run to test (Maven Projects view in IntelliJ).
In IntelliJ ide, Maven Projects view, root project, run Plugins|versions:set. Enter new version. Run mvn clean install. DO the clean or view.xml used by Ambari will net get new version (and will not overwrite old version if deployed as Ambari view)!
- From jive/web/target copy war file (not original version) to Ambari server
- copy file to somewhere accessible to ambari user.
- As Ambari user copy file to var/lib/ambari-service/resources/views
- Restart Ambari 'ambart-service restart'
- Log in as an admin user. Create view (from new version). Add users/groups.