Quantcast
Channel: KNIME RSS
Viewing all 4157 articles
Browse latest View live

Hive to Spark Problem

$
0
0

I installed spark-job-server and configured the enviroment.config to use yarn-client.

When I run hive-to-spark in knime occurs an error described below:

Execute failed: An error occured: java.lang.IllegalArgumentException: Timeout length must not be negative, question not sent to [Actor[akka://JobServer/user/context-supervisor#1663440268]]

I forgot to set up some argument in enviroment.config or cloudera manager?


Feature request: XPath without preview & namespace scan

$
0
0

Dear KNIMErs,

Could we plese get an XPath node without the preview window & namespace scan? It's sure great for small XMLs to see all that, but loading just 90 MB worth of XML routinely freezes my machine, and only thanks to these (apprently memory-inefficient) activities.

Many thanks
E

Postgres database access

$
0
0

I want to read tables from a postgres database. I configured the driver (I used the build in org.postgresql.driver) and the database in the database reader node. I am able to fetch metadata. But unfortunately the SQL statement gives an error message ".... relation does not excist position ...". Although the table is fetched right I cant read anyting from the table. This table is located in Databases - DAsh_Import-Layer - Schemas -Tables

I found out that it is possible to retrieve information from various systemtables that are located in Databases - Catalogs -PostgreSQL -Tables. This is not the right location for the content. For some reason the Tables are fetched right in the Database reader node but I cant access the right location. Do I configure something wrong, is the database configured wrong or is this a bug?

Thinking this is caused by the driver I tried to install another driver in the preferences - databases screen. I can add the driver.jar. but I don't get a message that it is installed. Even after restarting Knime I cannot select this new driver in te database driver of the node.

Solving this is issue is extremely important for me. I appreciate your help very much.

 

 

 

Send Keys (Escape and Return)

$
0
0

Hey,

how is it possible to send the ESCAPE or RETURN key via 'send keys' node?

Thanks and best regards

Quick form in Knime 3.2

$
0
0

Hi,

Can you reorder quick form nodes in Knime 3.2 so that they appear in the order you want in the web interface?  This was possible with previous version using the Weight field. 

Thanks,

Claire

Sentiment Classification using Word Vectors Sample - Question

$
0
0

Hello,

I have been playing with the Sentiment Classification using Word Vectors exmaple and got is to use my data and produce acceptable results. But my Question (not beeing an expert) is:

 

No I was to feed in different data using the model I trained. Where and how do i feed it in? Do I need to save the vector model? Any guideance would be appreciated!

 

Thank you 

 

Posting output to API like Box.com

$
0
0

Hi all,

I have a scheduled workflow to auto backup a file. The workflow is to get some data from a website and clean it up and save as a csv file. What I need to do in next step is to post it to Box.com and make sure it works well on knime server as well. There is a package in R called boxr that allows me to post the file to box through developer account. However, it requires authentication by logging on through the explorer window. It is not compatible in R snippet in KNIME. Are there any other ways to do? Any solutions??

BTW, i can't find any KREST nodes anymore. 

My version of KNIME: 2.12

Thanks :)

Changing text on dendrogram

$
0
0

Please see the attached image which shows a dendrogram generated from a simple dataset called "teeth" provided by our University. The Hierarchical Clustering node was used in KNIME v3.2.1. The 1st class label is for "HOUSE RAT", the 2nd for "BEAVER", etc, and the 10th is for "HOUSE BAT". Unfortunately this also appears as "HOU...". Are there any options to change the way the text is displayed (and ideally to display the full class label)?

If not, could the node designer consider adding such a feature, please.


R Corrplot on Knime

$
0
0

Hi Knimers

I still struggling when using R on Knime but  I'm getting somewhere :)

My task is run some visualizations from corrplot package (https://cran.r-project.org/web/packages/corrplot/vignettes/corrplot-intr...)

I've done the correlation matrix and its perfect :)

But I can't plot the visualizations :(

Should I use a new R snipet node only to plot

I'm doing this in just one R Snipet:

require(corrplot)
knime.out <- as.matrix(cor(knime.in))
corrplot(knime.out, method="circle")

I always appreciate your help!!!

the error "This connection has been closed." will occured using PostgreSQL Connector

$
0
0

Hello,

I am working on a workflow in KNIME (the attached file "my_workflow_2hours.PNG") 
where the process is running for more than two hours.

I encounters an error as detailed in the bottom line knime.log: "This connection has been closed."
(the corresponding line is including "AbstractJdbc2Connection.checkClosed.").

I have changed the value in the attached file preferences_kneme_databases.PNG, but it does not improve.

Is there another workaround?

Thanks,

Hiro.

------------------------

knime.log:

2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # Welcome to the KNIME Analytics Platform v3.2.2.v201609201941 (Build August 19, 2016)  #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # Based on Eclipse, http://www.eclipse.org                                             #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #                                                                                       #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #########################################################################################
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #                                                                                       #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # Copyright by KNIME GmbH, Konstanz, Germany and others.                                #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # Website: http://www.knime.org                                                        #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # E-mail: contact@knime.org                                                            #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #                                                                                       #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #########################################################################################
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # For more details see the KNIME log file:                                              #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # C:\Users\xxxxxxxxxxx\Documents\knime_root\xxxxxxxxxxxxxxx\.metadata\knime\knime.log
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #---------------------------------------------------------------------------------------#
2016-10-11 13:07:07,130 : INFO  : main : NodeLogger :  :  : # logging date=Tue Oct 11 13:07:07 JST 2016
2016-10-11 13:07:07,130 : INFO  : main : NodeLogger :  :  : # java.version=1.8.0_60
2016-10-11 13:07:07,130 : INFO  : main : NodeLogger :  :  : # java.vm.version=25.60-b23
2016-10-11 13:07:07,130 : INFO  : main : NodeLogger :  :  : # java.vendor=Oracle Corporation
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # os.name=Windows 7
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # os.arch=amd64
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # number of CPUs=8
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # assertions=off
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # host=MICROAD-PC-546
2016-10-11 13:07:07,133 : INFO  : main : NodeLogger :  :  : # username=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2016-10-11 13:07:07,133 : INFO  : main : NodeLogger :  :  : # max mem=7282MB
2016-10-11 13:07:07,134 : INFO  : main : NodeLogger :  :  : # application=org.knime.product.KNIME_APPLICATION
2016-10-11 13:07:07,135 : INFO  : main : NodeLogger :  :  : # ID=01-804c84b154a894a4
2016-10-11 13:07:07,135 : INFO  : main : NodeLogger :  :  : #########################################################################################
...
(snip)
...

2016-10-20 17:02:42,647 : DEBUG : KNIME-Worker-74 : DatabaseConnectionSettings : Database Connection Table Writer : 2:10 : Executing SQL statement "CREATE TABLE ....
...
(snip)
...
....id, xxxxx_id, xxx_id, xxx_id, year, month, week, date) table_549347833) t)"
2016-10-20 17:03:07,654 : DEBUG : main : NodeContainerEditPart :  :  : Database Connection Table Writer 2:10 (EXECUTING)
2016-10-20 17:03:57,358 : DEBUG : main : NodeContainerEditPart :  :  : Database Table Selector 2:2 (EXECUTED)
2016-10-20 17:32:43,537 : DEBUG : KNIME-Worker-74 : DatabaseConnectionSettings : Database Connection Table Writer : 2:10 : Caught another SQL exception while rolling back transaction: 縺薙�ョ謗・邯壹�ッ譌「縺ォ髢峨§繧峨l縺ヲ縺�縺セ縺吶��
org.postgresql.util.PSQLException: 縺薙�ョ謗・邯壹�ッ譌「縺ォ髢峨§繧峨l縺ヲ縺�縺セ縺吶��
    at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:820)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.getAutoCommit(AbstractJdbc2Connection.java:781)
    at org.knime.core.node.port.database.DatabaseConnectionSettings.execute(DatabaseConnectionSettings.java:611)
    at org.knime.base.node.io.database.DBConnectionWriterNodeModel.execute(DBConnectionWriterNodeModel.java:107)
    at org.knime.core.node.NodeModel.executeModel(NodeModel.java:566)
    at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1128)
    at org.knime.core.node.Node.execute(Node.java:915)
    at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:556)
    at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:95)
    at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:179)
    at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:110)
    at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:328)
    at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:204)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
    at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)
2016-10-20 17:32:43,538 : DEBUG : KNIME-Worker-74 : Database Connection Table Writer : Database Connection Table Writer : 2:10 : reset
2016-10-20 17:32:43,538 : ERROR : KNIME-Worker-74 : Database Connection Table Writer : Database Connection Table Writer : 2:10 : Execute failed: An I/O error occurred while sending to the backend.
2016-10-20 17:32:43,538 : DEBUG : KNIME-Worker-74 : Database Connection Table Writer : Database Connection Table Writer : 2:10 : Execute failed: An I/O error occurred while sending to the backend.
org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:570)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:406)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:398)
    at org.knime.core.node.port.database.DatabaseConnectionSettings.execute(DatabaseConnectionSettings.java:605)
    at org.knime.base.node.io.database.DBConnectionWriterNodeModel.execute(DBConnectionWriterNodeModel.java:107)
    at org.knime.core.node.NodeModel.executeModel(NodeModel.java:566)
    at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1128)
    at org.knime.core.node.Node.execute(Node.java:915)
    at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:556)
    at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:95)
    at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:179)
    at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:110)
    at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:328)
    at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:204)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
    at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:209)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:143)
    at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:112)
    at org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:71)
    at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:282)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1803)
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
    ... 18 more

 

DB2 Database connection on MacOS

$
0
0

Hi,

I'm new to the Knime community and am trying to set up a connection to a DB2 database using my Mac. Since the db2 driver is not in the native display, i had to add it via preferences and followed all the steps by adding the driver files. From the preferences side i have the option of picking (DB2 for : i5/OS; Linux, Unix, windows or z/OS) and a  version: are these driver configurations system version specific?. I added all the parameters but I'm having issues adding the drivers and having it listed  as a dropdown option on the connection side. Not sure if this is a driver issue or a Mac issue.

I've gone through the connection process using a windows machine and everything works fine (adding drivers, seeing driver, selecting the driver, seeing metadata etc.) Anybody know what may be happening or can point be to an answer somewhere on here. 

Thanks

The error "This connection has been closed." will occured using PostgreSQL Connector

$
0
0

Hello,

I am working on a workflow in KNIME (the attached file "my_workflow_2hours.PNG") 
where the process is running for more than two hours.

I encounters an error as detailed in the attached knime.log: "This connection has been closed."
(the corresponding line is including "AbstractJdbc2Connection.checkClosed.").

I have changed the value in the attached file preferences_kneme_databases.PNG, 
but it does not improve.

Is there another workaround?

Thanks,

-----------------------

knime.log:

2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # Welcome to the KNIME Analytics Platform v3.2.2.v201609201941 (Build August 19, 2016)  #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # Based on Eclipse, http://www.eclipse.org                                             #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #                                                                                       #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #########################################################################################
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #                                                                                       #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # Copyright by KNIME GmbH, Konstanz, Germany and others.                                #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # Website: http://www.knime.org                                                        #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # E-mail: contact@knime.org                                                            #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #                                                                                       #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #########################################################################################
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # For more details see the KNIME log file:                                              #
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : # C:\Users\xxxxxxxxxxx\Documents\knime_root\xxxxxxxxxxxxxxx\.metadata\knime\knime.log
2016-10-11 13:07:07,128 : INFO  : main : NodeLogger :  :  : #---------------------------------------------------------------------------------------#
2016-10-11 13:07:07,130 : INFO  : main : NodeLogger :  :  : # logging date=Tue Oct 11 13:07:07 JST 2016
2016-10-11 13:07:07,130 : INFO  : main : NodeLogger :  :  : # java.version=1.8.0_60
2016-10-11 13:07:07,130 : INFO  : main : NodeLogger :  :  : # java.vm.version=25.60-b23
2016-10-11 13:07:07,130 : INFO  : main : NodeLogger :  :  : # java.vendor=Oracle Corporation
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # os.name=Windows 7
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # os.arch=amd64
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # number of CPUs=8
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # assertions=off
2016-10-11 13:07:07,131 : INFO  : main : NodeLogger :  :  : # host=MICROAD-PC-546
2016-10-11 13:07:07,133 : INFO  : main : NodeLogger :  :  : # username=xxxxxxxx
2016-10-11 13:07:07,133 : INFO  : main : NodeLogger :  :  : # max mem=7282MB
2016-10-11 13:07:07,134 : INFO  : main : NodeLogger :  :  : # application=org.knime.product.KNIME_APPLICATION
2016-10-11 13:07:07,135 : INFO  : main : NodeLogger :  :  : # ID=01-804c84b154a894a4
2016-10-11 13:07:07,135 : INFO  : main : NodeLogger :  :  : #########################################################################################
...
(snip)
...

2016-10-20 17:02:42,647 : DEBUG : KNIME-Worker-74 : DatabaseConnectionSettings : Database Connection Table Writer : 2:10 : Executing SQL statement "CREATE TABLE ....
...
(snip)
...
....id, xxxxx_id, xxx_id, xxx_id, year, month, week, date) table_549347833) t)"
2016-10-20 17:03:07,654 : DEBUG : main : NodeContainerEditPart :  :  : Database Connection Table Writer 2:10 (EXECUTING)
2016-10-20 17:03:57,358 : DEBUG : main : NodeContainerEditPart :  :  : Database Table Selector 2:2 (EXECUTED)
2016-10-20 17:32:43,537 : DEBUG : KNIME-Worker-74 : DatabaseConnectionSettings : Database Connection Table Writer : 2:10 : Caught another SQL exception while rolling back transaction: 縺薙�ョ謗・邯壹�ッ譌「縺ォ髢峨§繧峨l縺ヲ縺�縺セ縺吶��
org.postgresql.util.PSQLException: 縺薙�ョ謗・邯壹�ッ譌「縺ォ髢峨§繧峨l縺ヲ縺�縺セ縺吶��
    at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:820)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.getAutoCommit(AbstractJdbc2Connection.java:781)
    at org.knime.core.node.port.database.DatabaseConnectionSettings.execute(DatabaseConnectionSettings.java:611)
    at org.knime.base.node.io.database.DBConnectionWriterNodeModel.execute(DBConnectionWriterNodeModel.java:107)
    at org.knime.core.node.NodeModel.executeModel(NodeModel.java:566)
    at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1128)
    at org.knime.core.node.Node.execute(Node.java:915)
    at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:556)
    at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:95)
    at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:179)
    at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:110)
    at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:328)
    at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:204)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
    at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)
2016-10-20 17:32:43,538 : DEBUG : KNIME-Worker-74 : Database Connection Table Writer : Database Connection Table Writer : 2:10 : reset
2016-10-20 17:32:43,538 : ERROR : KNIME-Worker-74 : Database Connection Table Writer : Database Connection Table Writer : 2:10 : Execute failed: An I/O error occurred while sending to the backend.
2016-10-20 17:32:43,538 : DEBUG : KNIME-Worker-74 : Database Connection Table Writer : Database Connection Table Writer : 2:10 : Execute failed: An I/O error occurred while sending to the backend.
org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:570)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:406)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:398)
    at org.knime.core.node.port.database.DatabaseConnectionSettings.execute(DatabaseConnectionSettings.java:605)
    at org.knime.base.node.io.database.DBConnectionWriterNodeModel.execute(DBConnectionWriterNodeModel.java:107)
    at org.knime.core.node.NodeModel.executeModel(NodeModel.java:566)
    at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1128)
    at org.knime.core.node.Node.execute(Node.java:915)
    at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:556)
    at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:95)
    at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:179)
    at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:110)
    at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:328)
    at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:204)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
    at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:209)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:143)
    at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:112)
    at org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:71)
    at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:282)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1803)
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
    ... 18 more

 

 

File reader on Mac vs Windows - New line in quoted string

$
0
0

Hello,

We have been running a workflow in Knime that loads a large txt file (multiple GB) using the file reader and then parsethe content via Python. However when we try to run the same file and and wrokflow on a windows machine, we get:

ERROR File Reader          0:325:2    Execute failed: New line in quoted string (or closing quote missing)

Any recommemndations?

Thank you 

Set value of a specific cell from other specific cell in a table

$
0
0

Hi

I have a table generate dby the node Scorer-The Accuracy value apears only on the third row. I want to copy this value to the first and second row.

For  example output of Scorer is:

Roo ID    TruePositive..........Accuracy    Cohenen

No           1559                         ?                   ?

Yes         1131                         ?                   ?

Overall    ?                             0.941           0.878

 

I want the value of the third row of Accuracy apears on the first two rows as well.

 

How i should do that?

Malik

 

 

Set value of a specific cell from other specific cell in a table

$
0
0

Hi

 have a table generate dby the node Scorer-The Accuracy value apears only on the third row. I want to copy this value to the first and second row.

For  example output of Scorer is:

Roo ID    TruePositive..........Accuracy    Cohenen

No           1559                         ?                   ?

Yes         1131                         ?                   ?

Overall    ?                             0.941           0.878

 

I want the value of the third row of Accuracy apears on the first two rows as well.

 

How i should do that?

Malik


Parsing Multi Line fields into tables

$
0
0

 

Hello, I am stuck on a rather "simple issue". We are loading in a 2 GB Datafile. It is in multi line format:

product/productId: B00006HAXW
product/title: Rock Rhythm & Doo Wop: Greatest Early Rock
product/price: unknown
review/userId: A1RSDE90N6RSZF
review/profileName: Joseph M. Kotow
review/helpfulness: 9/9
review/score: 5.0
review/time: 1042502400
review/summary: Pittsburgh - Home of the OLDIES
review/text: I have all of the doo wop DVD's and this one is as good or 

I am parsing it usually with Python:

pyOut = {}

for str in kIn['Col0']:
    tokens = str.split(':', 1)
    if len(tokens):
        if tokens[0] in pyOut:
            column = pyOut[tokens[0]]
        else:
            column = []
        column.append(tokens[1].strip())
        pyOut.update({tokens[0] : column})

And it works fine, but when I am trying to load larger sizes ~32GB. I get this error:
ERROR Python Snippet       0:325:5    Execute failed: java.lang.RuntimeException: java.io.IOException: Cannot run program "python": CreateProcess error=2, The system cannot find the file specified

I would rather just skip python.. given the above data, any recomendations for a native node to transform it?

 

Thank you

 

R in Knime: Column Name change

$
0
0

Hi Knimers!

After select some columns to my script, the name of columns change to Knime.in.XXXXX.

Why is that and How can I fix it?

Tks again!

 

 

Frequency of string entries based on another numerical column

$
0
0

Hi,

 

The problem is simple. There is a column years (integer) and a column clinic name (string).

Years  Clinic

2013    BAS

2013   BAS

2013   MAS

2014  MAS

2014  BAS

2015  MAS

How can I fliter by a specific year (I guess row filter node eg. Year=2013) and then, to count home many BAS and MAS I have inside 2013? ... I am struggling with the second part.. the counting of the string.

I am open for advice.

 

Error Connecting to Database

$
0
0

Hi

I am getting the following error while connecting to teradata database. I have put the database driver to jre/lib/ext and registered at prefereances --> databases.

ERROR Database Connector   0:3        Execute failed: Could not create connection to database: 10.92.XXX.XX:1025: invalid IPv6 address

Please help to resolve this error. thank you.

Complete Error:

ERROR Database Reader      0:2        Execute failed: java.sql.SQLException: [Teradata JDBC Driver] [TeraJDBC 14.10.00.44] [Error 1000] [SQLState 08S01] Login failure for Connection to 10.92.XXX.XX:1025 Fri Oct 21 14:07:12 SGT 2016 socket orig=10.92.139.27:1025 cid=28b0620 sess=0 java.net.UnknownHostException: 10.92.XXX.XX:1025: invalid IPv6 address  at java.net.InetAddress.getAllByName(InetAddress.java:1169)  at java.net.InetAddress.getAllByName(InetAddress.java:1126)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF$Lookup.<init>(TDNetworkIOIF.java:202)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.connectToHost(TDNetworkIOIF.java:302)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.createSocketConnection(TDNetworkIOIF.java:150)  at com.teradata.jdbc.jdbc_4.io.TDNetworkIOIF.<init>(TDNetworkIOIF.java:136)  at com.teradata.jdbc.jdbc.GenericTeradataConnection.getIO(GenericTeradataConnection.java:118)  at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:98)  at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:205)  at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:35)  at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:179)  at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:169)  at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:232)  at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:158)  at org.knime.core.node.port.database.DatabaseWrappedDriver.connect(DatabaseWrappedDriver.java:81)  at org.knime.core.node.port.database.connection.CachedConnectionFactory.createConnection(CachedConnectionFactory.java:266)  at org.knime.core.node.port.database.connection.CachedConnectionFactory$1.call(CachedConnectionFactory.java:209)  at org.knime.core.node.port.database.connection.CachedConnectionFactory$1.call(CachedConnectionFactory.java:1)  at org.knime.core.util.ThreadUtils$CallableWithContextImpl.callWithContext(ThreadUtils.java:344)  at org.knime.core.util.ThreadUtils$CallableWithContext.call(ThreadUtils.java:244)  at java.util.concurrent.FutureTask.run(FutureTask.java:266)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  at java.lang.Thread.run(Thread.java:745)

Problem with POST request to Google Sheets

$
0
0

Hi,

We are new to KNIME and we are struggling to connect it to Google sheets. 

We want to post the output dataset of our workflow into a Gsheet,for which we are using the REST services POST request node. After reading all the docummentation about this node, we are still unable to do this! We can do post requests to gsheets through our own applications but these same settings don't seem to work on the node.

Has anyone succesfully posted something onto gsheets? If so, could we see an example on how to fill in the node or do you have any documentation on this specific topic?

Many thanks!

Viewing all 4157 articles
Browse latest View live