Hi,

After few days trying NiFi and MiNiFi C++ I (finally) have been able to 
compile minifi-cpp in a rasp3 with tensorflow and usb camera support.

Now I am having a silly issue. I cannot use UpdateAttribute processor 
successfully. This is the error I get:

[org::apache::nifi::minifi::core::FlowConfiguration] [error] No Processor 
defined for UpdateAttribute

I attached the relevant files in the email.

What I am trying to do is replicate what Andy explains in this article:
https://community.hortonworks.com/articles/174520/minifi-c-iot-cat-sensor.html

Of course, mini is a silly example. But using this config file:
https://gist.github.com/achristianson/1dea217e5fcbc88b87e526d919dad2c0#file-config-yml-L93

I get the same error in the step where tf.type attributes are added to the 
DataFlows.

Hope you can help me.

Best regards,
Iyán

-- 
Iyán Méndez Veiga | Physicist
GPG: 0x422E3694311E5AC1
Web: https://iyanmv.com

♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪

Attachment: config.yml
Description: application/yaml

[2018-04-19 01:18:32.787] [org::apache::nifi::minifi::Properties] [info] Using configuration file located at /home/minifi/nifi-minifi-cpp-0.4.0/conf/minifi-uid.properties
[2018-04-19 01:18:32.787] [main] [info] MINIFI_HOME=/home/minifi/nifi-minifi-cpp-0.4.0
[2018-04-19 01:18:32.787] [org::apache::nifi::minifi::Properties] [info] Using configuration file located at /home/minifi/nifi-minifi-cpp-0.4.0/conf/minifi.properties
[2018-04-19 01:18:33.101] [org::apache::nifi::minifi::FlowController] [info] FlowController NiFi Configuration file /home/minifi/nifi-minifi-cpp-0.4.0/conf/config.yml
[2018-04-19 01:18:33.101] [org::apache::nifi::minifi::FlowController] [info] FlowController content directory /home/minifi/nifi-minifi-cpp-0.4.0/content_repository
[2018-04-19 01:18:33.101] [main] [info] Loading FlowController
[2018-04-19 01:18:33.101] [org::apache::nifi::minifi::FlowController] [info] Load Flow Controller from file /home/minifi/nifi-minifi-cpp-0.4.0/conf/config.yml
[2018-04-19 01:18:33.102] [org::apache::nifi::minifi::core::FlowConfiguration] [error] No Processor defined for UpdateAttribute
[2018-04-19 01:18:33.102] [org::apache::nifi::minifi::core::YamlConfiguration] [error] Could not create a processor add_attribute with id d008c4fe-435e-11e8-a30e-3ca82a2045cc
[2018-04-19 01:18:33.102] [main] [error] Failed to load configuration due to exception: Could not create processor add_attribute
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#More verbose pattern by default
#Format details at https://github.com/gabime/spdlog/wiki/3.-Custom-formatting
spdlog.pattern=[%Y-%m-%d %H:%M:%S.%e] [%n] [%l] %v

#Old format
#spdlog.pattern=[%Y-%m-%d %H:%M:%S.%e] [minifi log] [%l] %v

#More compact format example
#spdlog.pattern=[%D %H:%M:%S.%e] [%L] %v

appender.rolling=rollingappender
appender.rolling.file_name=minifi-app.log
appender.rolling.max_files=3
appender.rolling.max_file_size=5242880

#Other possible appenders
#appender.stdout=stdout
#appender.stderr=stderr
#appender.null=null

logger.root=INFO,rolling

#Logging configurable by namespace
logger.org::apache::nifi::minifi=INFO,rolling

#Logging configurable by class fully qualified name
#logger.org::apache::nifi::minifi::core::logging::LoggerConfiguration=DEBUG
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Implementation for uid generation.
# Valid values:
# time - use uuid_generate_time
# random - use uuid_generate_random
# uuid_default - use uuid_generate (will attempt to use uuid_generate_random 
and fall back to uuid_generate_time if no high quality randomness is available)
# minifi_uid - use custom uid algorthim consisting of first N bits device 
identifier, second M bits as bottom portion of a timestamp where N + M = 64, 
last 64 bits is an atomic incrementor
uid.implementation=time

#Number of bits at beginning of uid for device segment.
uid.minifi.device.segment.bits=16

# Hexadecimal representation of device segment.  Should be unique per instance 
of MiNiFi.
#uid.minifi.device.segment=09AF
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Core Properties #
nifi.version=0.1.0
nifi.flow.configuration.file=./conf/config.yml
nifi.administrative.yield.duration=30 sec
# If a component has no work to do (is "bored"), how long should we wait before 
checking again for work?
nifi.bored.yield.duration=10 millis
# Provenance Repository #
nifi.provenance.repository.directory.default=./provenance_repository
nifi.provenance.repository.max.storage.time=1 MIN
nifi.provenance.repository.max.storage.size=1 MB
#nifi.remote.input.secure=true
nifi.https.need.ClientAuth=true
nifi.https.client.certificate=./conf/client.pem
nifi.https.client.private.key=./conf/client.key
nifi.https.client.pass.phrase=./conf/password
nifi.https.client.ca.certificate=./conf/nifi-cert.pem
#nifi.rest.api.user.name=admin
#nifi.rest.api.password=password
## enable the controller socket provider on port 9998
controller.socket.host=localhost
controller.socket.port=9998

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to