Error while running hive on windows server 2012 - hive

While running hive on windows server 2012 I am getting an error of class cast type. Searched about it but can not find the concrete solution if anyone can help. Sharing the screen shot might help analyzing the situation.
Hadoop & beeline is install and running well but connection to hive can not be done.

Related

The SQL Server feature 'SQL_Engine_Core_Inst' error

For few days I am getting an issue with SQL Server 2019 Express Installation. When installing SQL Server I get an error and the server won't work. I've tried repairing it but I've got also an error here.
The following error is :
Feature: Database Engine Services
Status: Failed
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x84B40002
Error description: The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Error help link: (Link that doesn't work)
My SQL Server Management Studio 2018 also don't work. I've tried uninstalling and installing SQL Server but it doesn't help. I've even tried uninstalling and installing Windows but nothing to do.
I fixed the issue:
If you run into that error, try creating a Virtual Hard Drive with Disk Manager. Then install SQL Server 2019 on it and it should maybe resolve the problem. If not, read all the comments and check if something helps.
Edit: When you shut down your computer, if you restart it, the virtual disk disappears. You have to mount it again and start the database engine manually. I recommend creating a script that does this for you.

How to start GraphDB database in command line?

I have installed a GraphDB server free version on a linux server and I am trying to start the database now by command line, but the way to start the installed database described in the official document is by clicking the application icon. (see: https://graphdb.ontotext.com/documentation/free/quick-start-guide.html), which is clearly not a valid measure for me. So the question is what command line I should use, or what I can do to start the installed GraphDB database.
Thank you very much in advance!

Pentaho 6.0.1 connection to Mapr 5.0.1

I am trying to connect Pentaho DI to Mapr. While creating a connection I get the following error
Unable to load the {0}Shim.
I am using Pentaho Enterprise edition.
Has anyone faced similar issue.
Thanks
Have you installed the pentaho-mapr .jar file in the lib folder of PDI?, for example if you want to connect to mysql database then first you probably need to install the mysql-connector-java-5.1.23-bin.jar file

ODBC Teradata SQL Tool for OS X

TLDR; best Mac SQL Query solution for ODBC Teradata version 14 with some instructions on how to set it up.
Using ODBC version 14.x and Teradata DB version 14.x
Currently, running on a Windows 7 machine using Teradata SQL Assistant, though I am switching to a Mac and so far am unable to get OS X ODBC Management tool to function for my testing, nor could I get the download for the JE of SQL Assistant, as the site 404s. I tried Teradata Studio Express but it's not connecting to ODBC(it's using JDBC) and from what I am reading on the Teradata forums, there is no ODBC driver for Studio Express... with the SQL Assistant JE not available for download, I'm a lost on how I could be querying our Teradata Databases for testing on my Mac.
Others have suggested anything from Excel to Eclipse should work for SQL querying as long as I have the ODBC driver installed (i seem to), I made sure it was even version 14 as well as trying 15.
No dice... I think I am just too newb at this to figure it out without some guidance.
Thanks and if this post is not articulate enough kindly let me know what details I am leaving out and I can add them.
Thank you all so much!
Teradata Studio and Studio Express are the eventual replacement for SQL Assistant providing a cross platform IDE for Teradata professionals. Using it on your Mac should cause you no trouble other than the paradigm shift from using SQL Assistant to an Eclipse-based IDE.

How to install pgAgent service on windows

I am new in postgreSQL database , I recently found that postgreSQL support SQL Job by pgAgent. I am using windows XP operating system.
I searched lots about pgAgent on Google and trying to configure pgAgent on machine.
Download pgAgent package in which I found pgagent.sql file after executing this file JOB(0) icon is appear on my pgAdmin III object panel. like following image.
But I am facing problem to register pgAgent service. As per postgres sql documentation following is next steps to register services but I am fail to do this. or don't know how to configure pgAgent service.
Following step from postgre sql documentaion :
The service may be quite simply installed from the command line as follows:
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p secret hostaddr=127.0.0.1 dbname=pgadmin user=postgres
but I tried lot to do this, please help in how to register pgAgent service with Windows XP.
reference link of postgre sql : http://www.pgadmin.org/docs/1.6/pgagent-install.html
Please help in this , Thanks in Advance !
PgAgent is probably not installed
The pgAgent download page says:
pgAgent is a job scheduler for PostgreSQL which may be managed using
pgAdmin. Prior to pgAdmin v1.9, pgAgent shipped as part of pgAdmin.
From pgAdmin v1.9 onwards, pgAgent is shipped as a separate
application.
And then it provides a download link to http://www.postgresql.org/ftp/pgadmin3/release/pgagent/
But the problem is there's only source code there. There are also SQL files in the tarball but they're useless without pgagent.exe.
How to install it
Apparently the correct way to install a pre-compiled pgAgent is with the Stack Builder installer that also happens to be the primary installation method on Windows for the PostgreSQL server itself. That's what is suggested on the official download page:
http://www.postgresql.org/download/windows/
If you have already installed PostgreSQL for Windows with this method, the installer is available under the name Application Stack Builder in the PostgreSQL 9.2 folder in Windows Start Menu.
StackBuilder will normally recognize your installed PostgreSQL version(s), and suggest to install among various programs pgAgent in the Add-ons, tools and utilities category.
Once you check pgAgent and continue with the installation, it will download it and launch its setup. The setup phase includes runnning the necessary SQL statements and installing the PostgreSQL scheduling Agent - pgAgent windows service. If this step is successful, there is nothing else to do, the functionality will be available in pgAdmin for creating jobs.
What's misleading in the docs
The latest pgAdmin docs at http://www.pgadmin.org/docs/1.16/pgagent-install.html has a Service installation on Windows chapter that says:
The service may be quite simply installed from the command line as
follows (adjusting the path as required):
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p
secret hostaddr=127.0.0.1 dbname=postgres user=postgres
However in the majority of cases this is not going to be of help because either:
pgAgent install is done by pgAgent setup as launched by StackBuilder and this step is not necessary.
or you have got pgAdmin alone and pgagent.exe will not be installed so this step is not possible.
pgAdmin will be successfully installed after downloading the compressed file from
https://www.pgadmin.org/download/pgagent-source-code/
there inside, you will find the file "sql\pgagent.sql"
Toss the content of this file into the Query Tool and run it. That will install pgAgent. Refresh your database connection to see the result. The tab pgAgent Jobs should have been created at the root level for your connection.
There is no need of using the INSTALL command from your command line.
I faced the same problem. I was able to get pgagent working by downloading and executing the stand-alone installation file pgagent-3.4.0-4-windows.exe from here: http://sbp.enterprisedb.com/getfile.jsp?fileid=11842