Starting Drill in Ubuntu - apache-drill

I am starting Apache Drill (ver:-1.8) in Ubuntu OS in Embedded Mode, but its showing error:-
No known driver to handle "jdbc:drill:zk=local"
I am following same procedure as given in Drill Official Site- Drill Doc
I have install java 7 in my system but still my drill is not started. Can anyone tell me how to start drill in ubuntu os.?

As per the docs mentioned by you,
To start the Drill shell in embedded mode, use the drill-embedded command. Internally, the command uses a jdbc connection string and identifies the local node as the ZooKeeper node. Complete the following steps to start the Drill shell:
Navigate to the Drill installation directory (information provided ibn comment).
cd /media/ejeeva/B014055E14052944/apache-drill-1.8.0
Issue the following command to start the Drill shell:
bin/drill-embedded

Related

Install Dreamfactory on Xampp

I have been trying to install Dreamfactory on Xampp but can't find a single article on how to do so.
Purpose: To generate REST API in php with mysql.
What I have tried:
Initially I installed windows version of
Dreamfactory from official site. It was installed successfully but it don't allow access to MYSQL database in free version. Paid version is out of my budget, so I tried with Xampp. I downloaded open-source version from
Github. After extracting it, executed php artisan serve in xampp command shell as mentioned on Dreamfactory Wikipedia Installation guide. This resulted in following error:
Warning: require(D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
Fatal error: require(): Failed opening required 'D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
As mentioned in Git documentation, they have given installation procedures for Ubuntu and Debian. Further more, they have mentioned about Bitnami official installation software, but non for XAMPP or stuff like that.
Question:
Is there any way we can install Dreamfactory on XAMPP? If yes, how so!
I'd venture it's going to be fairly difficult task to run DreamFactory on XAMPP because DreamFactory requires quite a few dependencies which are not installed on XAMPP by default.
Your best bet would be to run the Bitnami for DreamFactory environment, or alternatively use Docker. Both can be downloaded from the DreamFactory website downloads page. Alternatively, if you'd like to run DreamFactory in a VM, the OSS download README points to automated installers for Debian and Ubuntu. Additional installers for CentOS and Fedora are found here, they work great however we just haven't moved them into the official distribution yet.

Windows Service installation on Docker Container

I am trying to port one of our Tomcat based Windows application to Windows Nano Server Container. The installation process includes two Windows Service installations - an ActiveMQ service and another Tomcat Service. This is achieved using two batch files provided with the product. In addition to installing the service, they also pass several arguments pertaining to JVM. Now the issue I am facing is I am not able to get these services installed on a Nano Server. The same Dockerfile works perfect and installs the product on Windows Server Core Container.
Observation: The services which get installed through batch files are dependent on two system components - Ancillary Function Driver for Winsock (Service name: afd) and TCP/IP Protocol Driver (Service Name: tcpip). This is something which I discovered on a VM where the product was installed when checking the service properties. I see that they are absent in a Nano Server Container but are present in Windows Server Core container. Could that be a reason? If yes, is there any way to get those services running on Nano Server?
I am at a loss on how to troubleshoot this issue. Are there any limitations on Nano Server Container when it comes to Windows Services?
Consider building your docker container from the ground up,
Determine and set your prerequisites
Install all of the dependencies first
Install the application and services in question
(For additional information you can look at this wiki page.)
The Nano server container is minimal and misses many windows default services, you’ll have to build most of them through Dockerfile yourself.
The easiest method will be to do this manually on Nano server and confirm everything to be working in the docker container/image, and then later generate an automated build.

cURL.exe on Windows 7 - Not a valid win32 application?

I have an AccessDB application that attempts to run cURL.exe to perform a PASV file transfer to a 3rd party using a command shell.
All is working as expected under Windows 10.
One of our partner users is having issues running from Windows 7 (64bit). He has grabbed the 64bit version cURL.exe but is seeing an error msg: "...application is not a valid Win32 application".
cURL.exe is a standalone executable, no DLLs, etc.
In a similar manner, their Windows8 users cannot run the the command line from the command shell via my VBA application, but they CAN run manually from command line itself.
Any suggestions to troubleshoot this issue?
Thank you!

Apache Drill Embedded And Distributed System

I am new in Apache Drill. I have gone through the Apache Drill official site and their documentation, but couldn't understand when to use Distribute system and when to use Embedded System.
I want to apply Drill in live project.So please give some advice which one to use (Embedded or Distributed) and how ?
Thanks in advance.
Embedded Mode: This requires less configuration & it is preferred for testing purpose.
As per drill docs:
Drill in embedded mode installs Drill locally on your machine. Embedded mode is a quick way to install and try Drill without having to perform any configuration tasks. A ZooKeeper installation is not required. Installing Drill in embedded mode configures the local Drillbit service to start automatically when you launch the Drill shell.
Distributed Mode: In this mode, drill runs on one or more nodes in a clustered environment. Running a ZooKeeper quorum is required.
As you asked, for live project you should use distributed mode. If you are using any hadoop cluster, you can install Drill on the same cluster. You need to install Drill on all the nodes. Check docs for more details.
Edit:
As you are new to Drill, for POC purpose you should use embedded mode.
Download Drill.
Start Drill with command bin/drill-embedded (for linux).
For windows check docs.
Add plugin through web UI
Start Querying.

InstallShield, Virtual Studio, Visual Basic (ADD MYSQL INTO INSTALLATION)

I am working with window application and want to create full setup of this application. I am using MySql to save/retrieve data. What I want, I want to install MySql on system if it doesn't exist on that system before installation of this application.
Simply I want my application to follow following steps before install:-
Check if MySql is exist on system or not.
Install MySql if it is not installed on system.
Finally after install required softwares to run this application the application should be install.
For this purpose i am using "InstallShield 2013". But when I am trying to make setup with this it doesn't allow MySql to appear in "Installation Requirements" section.
Please help me to resolve this that how InstallShield 2013 can allow MySql to appear in Installation requirements.
Check to see if the MySQL install creates any registry keys. If it does, then get the installer to check for a value in that path (using the registry search functionality) and store one of the values (the install directory for instance).
Then you check for that value you stored in the "installation requirements" section.