Error while opening parquet files using parquet-tools - command-line

I am trying to read a parquet file on my mac using parquet-tools.
This is the command i am using-
parquet-tools head -n 2 test.snappy.parquet
I am getting the following error-
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil (file:/usr/local/Cellar/parquet-tools/1.10.0/libexec/parquet-tools-1.10.0.jar) to method sun.security.krb5.Config.getInstance()
WARNING: Please consider reporting this to the maintainers of org.apache.hadoop.security.authentication.util.KerberosUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Not sure what am I doing wrong?

That's just a warning, not an error. It's a new restriction added with the module system in Java 9+. I see the same thing when I use parquet-tools. You can safely ignore it!

Related

rcache type freeradius rlm_krb5

I am currently experiencing the problem that my freeradius installation with the kerberos5 module does not like my rcache. It spits this error when authenticating.
ERROR: (0) krb5: Error verifying credentials (-1765328174): Generic preauthentication failure
According to Kemptechnologies this error code means the rcache format is not supported.
-1765328174
KRB5_RCACHE_BADVNO
Unsupported replay cache format version number
I tried to disable rcache by using the information provided by MIT.
http://web.mit.edu/kerberos/krb5-devel/doc/basic/rcache_def.html
Setting KRB5RCACHETYPE to none to disable it, setting it to dfl and setting the KRB5RCACHEDIR to /tmp but freeradius seems to not like any option.
Can anyone tell me how i have to format the rcache so that freeradius is able to read it?

Getting Some transactions have not been committed or rolled back in magento 2.3.2 EE while the order is placing

PHP Fatal error: Uncaught Exception: User Error: Some transactions have not been committed or rolled back in /var/www/html/vype/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 3981 in /var/www/html/vype/vendor/magento/framework/App/ErrorHandler.php:61
There are two ways to figure out the cause:
check your log file to see the real error
change your magento to developer mode and enable debugging.
Add this to your index.php and pub/index.php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Then try to reproduce the error again and you should see more information now.
For example I got this message:
TypeError: Argument 1 passed to
Amasty\AdminActionsLog\Observer\HandleModelSaveBefore::prepareProductOptionsDataAsArray()
must be of the type array, null given
So for me the third party extension Amasty\AdminActionsLog caused the bug.

SchemaSpy - Connection Failure

I want to visualise my data base and tried using SchemaSpy, but I can't connect to the data base. It's a mysql data base, running on my computer, accessible under localhost and I called SchemaSpy with the following command:
java -jar schemaspy-6.0.0.jar -t mysql -dp postgresql-42.2.7.jar -db <name> -host <host> -p <port> -s <name> -u <user> -p <password> -o ./output/
I downloaded postgresql-42.2.7.jar as a driver and set the respective parameter in the call. I also tried not setting a driver at all, but it didn't change the output.
I get the following error message after trying to run SchemaSpy:
SchemaSpy generates an HTML representation of a database schema's relationships.
SchemaSpy comes with ABSOLUTELY NO WARRANTY.
SchemaSpy is free software and can be redistributed under the conditions of LGPL version 3 or later.
http://www.gnu.org/licenses/
INFO - Starting Main v6.0.0 on ####### with PID 10774 (/path/to/file started by ##### in /path/to/file)
INFO - The following profiles are active: default
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/path/to/file/schemaspy-6.0.0.jar!/BOOT-INF/lib/spring-core-4.3.13.RELEASE.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO - Found configuration file: schemaspy.properties
INFO - Started Main in 1.397 seconds (JVM running for 1.944)
INFO - Starting schema analysis
WARN - Connection Failure
I also tried setting the --illegal-access=warn parameter, but no changes.
Does anyone know what problem might be?
Thanks a lot!

can't add external js script to javascript Evaluator in streamsets

I am using external javascript inside javascript evaluator in streamsets. But when i try to load the external code i got following error. How should i resolve this. Thanks
ERROR SafeScheduledExecutorService - Uncaught throwable from
com.streamsets.pipeline.lib.executor.SafeScheduledExecutorService$SafeCallable#69717812:
com.streamsets.datacollector.util.PipelineException: PREVIEW_0003 -
Encountered error while previewing :
java.security.AccessControlException: access denied
("java.io.FilePermission"
"/opt/streamsets-datacollector-user-libs/test.js" "read")
com.streamsets.datacollector.util.PipelineException: PREVIEW_0003 -
Encountered error while previewing :
java.security.AccessControlException: access denied
("java.io.FilePermission"
"/opt/streamsets-datacollector-user-libs/test.js" "read")
As I've responded elsewhere, you will need to add a security policy to be able to load a script file. Add the following to $SDC_CONF/sdc-security.policy :
// Set global perm so that JS can load scripts from this directory
// Note - this means any code in the JVM can read this dir!
grant {
permission java.io.FilePermission "/opt/streamsets-datacollector-user-libs/-", "read";
};
You will need to restart Data Collector for changes to the security policy file to take effect.

Which function to use instead of pci_find_bus in esxi

I am trying to compile a driver for esxi that originally run under linux.
When i try to load it vmkload i get the following error/warning
WARNING: Elf: 1508: Relocation of symbol <pci_find_bus> failed: Unresolved symbol
Because It is not defined in the vmklinux9 - Which one should i use instead?
I just saw it is under ifdef at:
vmkdrivers/src_9/include/linux/pci.h
vmkdrivers/src_9/vmklinux_9/linux/pci/search.c
I get the interface by
pci_get_device_all
got the physical address with
pci_resource_start
And finnaly got the virual adderss with ioreamp