Posts

MS office installation

 Recently my desktop NVMe drive got corrupted. Machine unable to detect the NVMe SSD . Dont know the reason why it got failed suddently. I have tried multiple approch to fix it but nothing worked . So bought new NVMe ssd and reinstalled the OS. When I was trying to install MS office 365 it was not working. Its keep failing. to donwload offline version its asking for purchase or provide license key. Sine the machine crashed I dont have MS office license key. After couple of hours of search I found a way to down load the  Ms office using office download tool and office configuration tool. that approach also failed.  Then thought of using AI to solve my problem. So installed node.js and installed Gemini. Even Gemini tried couple of approaches and failed to install the ms office.its suggested try to download it from another machine and copy it to my machine then install it . But I had some other idea.  I have installed sandbox on my window 11 machine. and started the san...

connect to kerbros enable hive from Windows machine

While connecting the hive installed in linux machin with kebros enabled from windows maching using jdbc driver we will face few issues with the kebros.   to address the kerbros issue we need to add the keytab file and kerbros conf file as well.  add necessary jars and then add the krb.conf file to the  JVM argument  -Djava.security.krb5.conf="C:\\MyFiles\krb5.conf" Java Code: package com.hive.connect; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.util.logging.Logger; import org.apache.hadoop.security.UserGroupInformation; public class HiveConnect { private static final Logger logger = Logger.getLogger(" com.hive.connect.HiveConnect "); private static final String JDBC_DRIVER_NAME = "org.apache.hive.jdbc.HiveDriver"; private static String connectionUrl; public static void main(String[] args) { System.out.println("Staring HiveConnect"); if (args.length < 4) { logger.severe(...

Uninstalling eclipse plugins from command line

Some time after installing new plugin to eclipse , the eclipse will crash and won't open. In such cases we need to install the latest installed plugins from the eclipse.  But since we are not able to open the eclipse itself we won't be able to access the uninstall options from eclipse menu. So we have to uninstall the plugins from the command line.  List the installed plugins  To get list of plugins installed run the below command from the eclipse installed folder eclipse -application org.eclipse.equinox.p2.director -listInstalledRoots For windows os , use eclipsec executable  This command provide you the list of plugin group name which are installed in the eclipse Uninstall plugin To uninstall specific feature you can run below command and provide the uninstall plugin group name as  argument for  -uninstallIU  Run below command from the eclipse installed folder  eclipse -application org.eclipse.equinox.p2.director -uninstallIU org.scala.tools.ecl...